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 704884 - Shell starts locked after a crash even if "screen lock" is disabled in Privacy (and unlocking fails?)
Shell starts locked after a crash even if "screen lock" is disabled in Privac...
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: lock-screen
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2013-07-25 18:30 UTC by Adam Williamson
Modified: 2014-11-09 17:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenShield: Don't lock after crash if locking is disabled (961 bytes, patch)
2013-07-25 22:22 UTC, drago01
committed Details | Review

Description Adam Williamson 2013-07-25 18:30:13 UTC
So I've seen this a few times now and I'm pretty sure I know what's going on.

I think a change went into Shell quite recently (3.8?) which was intended to make it start up in locked mode if it crashed while locked, to avoid a crash during lock mode being a security loophole.

I have "Screen Lock" set to "Off" in Privacy, so usually, my screen does not lock. However, I think the change described above doesn't consider this, so if Shell crashes while my session is idle, it restarts in locked mode, even though I don't want it to.

Also, I'm pretty sure that when this happens, I can't actually unlock it: entering my correct password just causes it to show the spinny-thing forever. I have to switch to a VT and run 'DISPLAY=:0 gnome-shell --replace &' to get back to my desktop.

gnome-shell-3.9.4-1.fc20.x86_64
Comment 1 drago01 2013-07-25 22:22:19 UTC
Created attachment 250148 [details] [review]
screenShield: Don't lock after crash if locking is disabled

When the user has disabled locking we shouldn't lock the screen.
Comment 2 Bastien Nocera 2014-11-09 17:20:29 UTC
Patch here still applies correctly.
Comment 3 drago01 2014-11-09 17:32:29 UTC
Attachment 250148 [details] pushed as 73362be - screenShield: Don't lock after crash if locking is disabled