Public bug reported:
When I start a GNOME 3 session with gdm as my login manager, my PATH
lacks /sbin, /usr/sbin and /usr/local/sbin, even though those
directories are configured to be in the PATH at the system level
(/etc/environment). Also, it doesn't seem to have anything to do with
login.defs, as ENV_PATH is there set to contain /usr/local/games, but
that directory is not present in my PATH when I log in via GDM.
When I log in on a tty, the paths containing "sbin" are retained, so the
problem appears not to be in my user's setup.
Googling finds several reports of this problem, all blaming gdm, but no
solution (only the obvious workaround of adding those directories back
into one's PATH in ~/.bashrc or ~/.profile).
Since it seems to be necessary to use gdm, rather than lightdm, for user
switching to work properly in GNOME 3, I currently haven't another
workaround.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gdm 3.0.4-0ubuntu15
ProcVersionSignature: Ubuntu 3.2.0-20.28-lowlatency 3.2.12
Uname: Linux 3.2.0-20-lowlatency x86_64
ApportVersion: 2.0-0ubuntu5
Architecture: amd64
Date: Tue Apr 10 19:21:55 2012
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
SourcePackage: gdm
UpgradeStatus: Upgraded to precise on 2012-02-12 (57 days ago)
** Affects: gdm (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/978259
Title:
gdm removes sbin directories from user paths
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/978259/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs