gdm doesn't respect $PATH, hardcodes X location
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm |
Won't Fix
|
Medium
|
|||
gdm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Description of the problem:
- LightDM as display manager: X from /usr/local/bin/X is used, just as it should, according to the $PATH env variable defined in /etc/environment. Everything works fine with LightDM.
- GDM as display manager: X is always used from /usr/bin/X, and $PATH is ignored. It seems that the location of X is hardcoded somewhere. If I move /usr/bin/X to /usr/bin/X.bak and restart GDM, it fails to start and doesn't find X in /usr/local/bin.
I am using ubuntu quantal, my packages are up-to-date and I compiled X from upstream git master on fd.org.
---
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
DistroRelease: Ubuntu 12.10
Package: gdm 3.5.91-0ubuntu1
PackageArchitec
Tags: third-party-
Uname: Linux 3.6.0-rc5 x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo vboxusers
Changed in gdm (Ubuntu): | |
status: | Incomplete → New |
description: | updated |
Changed in gdm: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gdm: | |
status: | New → Won't Fix |
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal: /wiki.ubuntu. com/ReportingBu gs.
apport-collect 1050612
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/