After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760406 - Don't assume gnome-session executable is installed in the same place as gdm
Don't assume gnome-session executable is installed in the same place as gdm
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2016-01-10 18:56 UTC by Michael Catanzaro
Modified: 2016-01-12 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: allow configuring location of gnome-session binary (2.93 KB, patch)
2016-01-10 18:56 UTC, Michael Catanzaro
none Details | Review
launch-environment: Run gnome-session from PATH (1.13 KB, patch)
2016-01-12 02:57 UTC, Michael Catanzaro
committed Details | Review

Description Michael Catanzaro 2016-01-10 18:56:20 UTC
Currently gdm assumes that it is installed in the same prefix as
gnome-session. This is annoying if you want to run gdm from /usr/local
in combination with a system copy of gnome-session under /usr/bin, for
example.
Comment 1 Michael Catanzaro 2016-01-10 18:56:23 UTC
Created attachment 318676 [details] [review]
build: allow configuring location of gnome-session binary
Comment 2 Michael Catanzaro 2016-01-11 00:11:12 UTC
Actually, maybe we should just not hardcode BINDIR. The reason for this is the same as in 462cb489d33654012c70d12c76e4de8c323cbfe0 and 6d8a510c68ac60e6788856802a02c8c24cca3dc3.
Comment 3 Michael Catanzaro 2016-01-11 00:12:38 UTC
I mean, maybe we should load gnome-session from wherever it is in path, so it can be changed at runtime without recompiling gdm.
Comment 4 Ray Strode [halfline] 2016-01-11 14:57:43 UTC
yea sure, loading from path sounds fine to me.
Comment 5 Michael Catanzaro 2016-01-12 02:57:00 UTC
Created attachment 318834 [details] [review]
launch-environment: Run gnome-session from PATH

Don't assume that gnome-session and gdm happen to be installed to the
same location. This makes it easier to e.g. run gdm from /usr/local
without installing gnome-session there as well.
Comment 6 Ray Strode [halfline] 2016-01-12 20:54:29 UTC
Review of attachment 318834 [details] [review]:

+
Comment 7 Michael Catanzaro 2016-01-12 21:51:36 UTC
Attachment 318834 [details] pushed as 33aa5ac - launch-environment: Run gnome-session from PATH