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 482742 - Does not lock screen after "Switch User"
Does not lock screen after "Switch User"
Status: RESOLVED FIXED
Product: gnome-session
Classification: Core
Component: gnome-session
2.23.x
Other Linux
: Normal normal
: ---
Assigned To: Session Maintainers
Session Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-02 21:14 UTC by Sven Arvidsson
Modified: 2014-12-05 00:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
lock the screen upon switch user (664 bytes, patch)
2007-10-07 02:29 UTC, Josselin Mouette
none Details | Review

Description Sven Arvidsson 2007-10-02 21:14:30 UTC
[ From http://bugs.debian.org/433259 ]

It seems gnome-panel does not lock the screen after "Switch User" from the log out menu is used. 

The other ways one can switch user from GNOME (fusa, gdmflexiserver, the screensaver) all lock the display by default.
Comment 1 Josselin Mouette 2007-10-07 02:29:54 UTC
Created attachment 96791 [details] [review]
lock the screen upon switch user

The fix is as simple as calling the lock function before talking to GDM.
Comment 2 Luis Medinas 2007-11-11 04:20:05 UTC
This fix seems good enough to fix this problem maybe it should go to trunk.
Comment 3 Vincent Untz 2007-11-13 09:45:18 UTC
Hrm. I thought I had commented, but it seems I didn't.

I don't think this should be done unconditionally: eg, in FUSA, there's a setting to not lock the screen when switching user. Maybe this should be a shared gconf key?
Comment 4 Josselin Mouette 2007-11-13 10:06:55 UTC
Or we could simply use /apps/gnome-screensaver/lock_enabled in all cases.
Comment 5 Vincent Untz 2008-06-30 17:02:25 UTC
Moving to gnome-session since the code has been moved there.
Comment 6 Matthias Clasen 2014-12-05 00:27:43 UTC
we do this nowadays (locking the screen on user switching)