Bug#428831: GDM does not parse /etc/profile for the PATH statement.
Chris Dos
chris at chrisdos.com
Mon Apr 14 17:43:10 UTC 2008
Sven Arvidsson wrote:
> On Mon, 2007-06-18 at 06:20 -0600, Chris Dos wrote:
>>>> It seems the GDM does not get it's PATH statement from /etc/profile, or pull the PATH
>>>> statement from .bash_profile when a WM is started.
>>> AFAIK this is intentional. The PATH is inherited from /etc/login.defs.
>>> The /etc/profile is a configuration file for bash, not for GDM.
>> Thanks for the insight. I could not find where the path was parsed. It might be good to
>> add a comment in one of the GDM startup files specifying where the PATH statement is
>> parsed. Thanks again.
>
> /usr/share/gdm/defaults.conf does mention this:
>
> # Default path to set. The profile scripts will likely override this value.
> DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>
> Would this be a good place to mention ?/etc/login.defs?
Having this file /usr/share/gdm/defaults.conf in this location seems counter intuitive. I would think that
this file should be in either /etc/default or in /etc/gdm. But yes, it would also be good to mention
/etc/login.defs here as well.
Chris
More information about the pkg-gnome-maintainers
mailing list