[LBo] PATH env var.
Geoff Jones
geoffjones99 at ntlworld.com
Thu Feb 8 10:21:12 CET 2007
On Wed, 7 Feb 2007, Chris Johnson wrote:
> /etc/profile has to be sourced by a shell. If you do not log in to
> a shell, then it will not be sourced, and the changes will not take
> effect.
>
> If you login through a display manager, instead of a console, the
> file may not be sourced.
Hi Chris - thanks for that - you're absolutely right, I was logging in on gdm
and running a Konqueror "terminal". Of course, my bash shell had the revised
PATH.
I found /usr/share/gdm/defaults.conf - which has the gdm PATH - and amended it
to the same as /etc/profile. I presume the other *dm's have their own
configurations ?
[ Am I being stupid in thinking it would be logical for *dm logins to source
the same config. files as a shell login ? - i.e. the gui "sits on" the
underlying system.]
Another 3 hrs spent googling + dissecting my system to discover a basic
lesson- this learning curve seems to get steeper!
Again - many thanks
Geoff.
More information about the QnA
mailing list