gdm doesn't respect $PATH, hardcodes X location

Bug #1050612 reported by Fabio Valentini
6
This bug affects 1 person
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
PackageArchitecture: amd64
Tags: third-party-packages quantal
Uname: Linux 3.6.0-rc5 x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: sudo vboxusers

Revision history for this message
Logan Rosen (logan) wrote :

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:
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://wiki.ubuntu.com/ReportingBugs.

Changed in gdm (Ubuntu):
status: New → Incomplete
Revision history for this message
Fabio Valentini (fafatheone-deactivatedaccount) wrote : Dependencies.txt

apport information

tags: added: apport-collected quantal third-party-packages
description: updated
description: updated
Revision history for this message
Fabio Valentini (fafatheone-deactivatedaccount) wrote : ProcEnviron.txt

apport information

Logan Rosen (logan)
Changed in gdm (Ubuntu):
status: Incomplete → New
description: updated
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

Changed in gdm:
importance: Unknown → Medium
status: Unknown → New
Changed in gdm:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.