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 684594 - slave: fix user switching for consolekit users
slave: fix user switching for consolekit users
Status: RESOLVED FIXED
Product: gdm
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-21 23:00 UTC by Ray Strode [halfline]
Modified: 2012-09-24 14:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
slave: fix user switching for consolekit users (4.99 KB, patch)
2012-09-21 23:00 UTC, Ray Strode [halfline]
committed Details | Review

Description Ray Strode [halfline] 2012-09-21 23:00:00 UTC
ConsoleKit has code to try to prevent switching to the same session
that the slave is running on.  That code was important when we created
a new throw-away session and slave as part of the user switching process.

These days we connect to the already running slave instead of using a
new one, and that vestigal code gets in the way, breaking user
switching.

This commit removes that harmful code.
Comment 1 Ray Strode [halfline] 2012-09-21 23:00:02 UTC
Created attachment 224963 [details] [review]
slave: fix user switching for consolekit users
Comment 2 Ray Strode [halfline] 2012-09-21 23:00:51 UTC
s/ConsoleKit has code to try/gdm's ConsoleKit code tries/
Comment 3 Matthias Clasen 2012-09-22 15:50:05 UTC
Got freeze break approval, so go ahead.
Comment 4 Ray Strode [halfline] 2012-09-24 14:09:05 UTC
Attachment 224963 [details] pushed as 5ac221b - slave: fix user switching for consolekit users