← Back to team overview

gnome3-team team mailing list archive

Re: When Login to GUI, $PATH is set strange


On Monday 02 May 2011 03:24 AM, YunQiang Su wrote:
> 于 05/02/2011 05:46 AM, YunQiang Su 写道:
>> When login to TTY, $PATH is set to
>> /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
>> But when login to gnome-shell, $PATH is set to:
>>  /usr/local/bin:/usr/bin:/bin
>> Why? A bug of GDM or gnome-shell ?
> When downgrade gdm to the version in offical repo, this problem disappear.

This seems to be an upstream change in GDM, and not a bug.

I did read somewhere that /usr/games and all sbin directories are being
deprecated. For use, they should have a symlink in /usr/bin/ or should
be called with their full path name.

If you would like the behavior to change, we could patch GDM for now,
but I'd prefer a discussion in GNOME Bugzilla first.

> It must a bug of GDM.
> _______________________________________________
> Mailing list: https://launchpad.net/~gnome3-team
> Post to     : gnome3-team@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~gnome3-team
> More help   : https://help.launchpad.net/ListHelp

Bilal Akhtar - Ubuntu Developer <bilalakhtar@xxxxxxxxxx>
IRC Nick: cdbs

Attachment: signature.asc
Description: OpenPGP digital signature

Follow ups