Subject: Re: xdm and xsession $PATH
To: None <current-users@netbsd.org>
From: Andrew Gillham <gillham@gmail.com>
List: current-users
Date: 01/20/2006 18:42:39
------=_Part_17302_11948235.1137811359859
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

This might not be related, but I have a similar problem with kdm.
For my issue it is what I believe is a bug in
/usr/pkg/share/kde/config/kdm/Xsession when using csh or tcsh.
My patch:
34c34
<     eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >
/dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c export'=
`
---
>     eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login >
/dev/null; if (-f ~/.login) source ~/.login > /dev/null; /bin/sh -c "export
-p"'`


On 1/19/06, Daniel Carosone <dan@geek.com.au> wrote:
>
> After my most recent update the other day, something odd has happened
> to the PATH setting used by xdm, with which it invokes my .xsession
>
> It no longer has /usr/X11R6/bin in it, which tends to make several
> of the things it tries to run be not found.
>
> The previous xdm would have been from 2-3 months ago.
>
> Any culprits or ideas what changed?
>
> --
> Dan.
>
>
>

------=_Part_17302_11948235.1137811359859
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

This might not be related, but I have a similar problem with kdm.<br>For my=
 issue it is what I believe is a bug in /usr/pkg/share/kde/config/kdm/Xsess=
ion when using csh or tcsh.<br>My patch:<br>34c34<br>&lt;&nbsp;&nbsp;&nbsp;=
&nbsp; eval `$SHELL -c 'if (-f /etc/csh.login) source /etc/csh.login &gt; /=
dev/null; if (-f ~/.login) source ~/.login &gt; /dev/null; /bin/sh -c expor=
t'`
<br>---<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; eval `$SHELL -c 'if (-f /etc/csh.lo=
gin) source /etc/csh.login &gt; /dev/null; if (-f ~/.login) source ~/.login=
 &gt; /dev/null; /bin/sh -c &quot;export -p&quot;'`<br><br><br><div><span c=
lass=3D"gmail_quote">
On 1/19/06, <b class=3D"gmail_sendername">Daniel Carosone</b> &lt;<a href=
=3D"mailto:dan@geek.com.au">dan@geek.com.au</a>&gt; wrote:</span><blockquot=
e class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204);=
 margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
After my most recent update the other day, something odd has happened<br>to=
 the PATH setting used by xdm, with which it invokes my .xsession<br><br>It=
 no longer has /usr/X11R6/bin in it, which tends to make several<br>of the =
things it tries to run be not found.
<br><br>The previous xdm would have been from 2-3 months ago.<br><br>Any cu=
lprits or ideas what changed?<br><br>--<br>Dan.<br><br><br></blockquote></d=
iv><br>

------=_Part_17302_11948235.1137811359859--