Thanks very much for the fix and the workaround! However, it looks as though there's an underlying problem, namely that gdm's default PATH is hardwired, not read from system settings. If /etc/login.defs changes (or the user changes it), this bug will reoccur. The (duplicate bug) #978259 discusses this, and suggests a fix (comment #4). This might be sufficient for Ubuntu, even if not for the general case. I filed an upstream bug for the general case here:
https://bugzilla.gnome.org/show_bug.cgi?id=682907 ** Bug watch added: GNOME Bug Tracker #682907 https://bugzilla.gnome.org/show_bug.cgi?id=682907 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gdm in Ubuntu. https://bugs.launchpad.net/bugs/844103 Title: /sbin not in $PATH Status in “gdm” package in Ubuntu: Fix Released Bug description: When I login in via gdm /sbin is not in my $PATH. 10:07:37 - flash:[~] echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/games:/home/bdmurray/bin/:/home/bdmurray/bin/ However, if I ssh to my system it is set: 10:13:38 - flash:[~] ssh localhost bdmurray@localhost's password: bdmurray@flash:[~] echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games:/home/bdmurray/bin/ ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: gdm 3.0.4-0ubuntu9 ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4 Uname: Linux 3.0.0-10-generic x86_64 Architecture: amd64 CheckboxSubmission: fee5e196cb921cbd36888f428b38b488 CheckboxSystem: 2a6f54df59af338184485e85cbcf0d32 Date: Wed Sep 7 10:06:24 2011 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/zsh SourcePackage: gdm UpgradeStatus: Upgraded to oneiric on 2011-09-06 (1 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/844103/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

