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 748297 - Should figure out what to do about /etc/gdm/PostLogin/Default etc
Should figure out what to do about /etc/gdm/PostLogin/Default etc
Status: RESOLVED OBSOLETE
Product: gdm
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
: 751602 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-04-22 13:35 UTC by Ray Strode [halfline]
Modified: 2018-05-24 11:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ray Strode [halfline] 2015-04-22 13:35:18 UTC
in GDM 3.16.1 the X session is run as part of the user session.  This means there's no good place to run PostLogin (which is run as root).

We could hack something up to allow root access to the users display, and run PostLogin in the blocking RegisterDisplay call, but I think instead we should just drop support for it. Having a bunch of shell scripts in the login path is suboptimal and running programs as root on the user display is iffy.

If we get complaints, we can potentially come up with some alternative solution that solves the complaints in a different way.
Comment 1 Michael Catanzaro 2016-01-11 19:19:49 UTC
*** Bug 751602 has been marked as a duplicate of this bug. ***
Comment 2 GNOME Infrastructure Team 2018-05-24 11:10:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdm/issues/227.