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 563836 - Resume from Hibernate/suspend does not respect auto-login
Resume from Hibernate/suspend does not respect auto-login
Status: RESOLVED NOTABUG
Product: gnome-screensaver
Classification: Deprecated
Component: general
2.22.x
Other All
: Normal major
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2008-12-09 11:56 UTC by miketosh
Modified: 2011-03-06 07:00 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments
SCREENSHOT: Login window preferences (62.12 KB, image/png)
2008-12-09 12:04 UTC, miketosh
Details
SCREENSHOT: Screensaver settings (35.83 KB, image/png)
2008-12-09 12:05 UTC, miketosh
Details

Description miketosh 2008-12-09 11:56:15 UTC
Please describe the problem:
I have set up the automatic login feature of Gnome (2.22.3).  I also have turned off the Password screensaver.  However when I resume from Hibernate or Suspend, I get prompted for my password.  This is the only time when I am required to enter it.  I shouldn't be prompted ever. (unless I'm envoking sudo)

Steps to reproduce:
1. Configure Auto Login of a user
2. Configure no password for screensaver (do not lock)
3. Hibernate or suspend the computer


Actual results:
On resume you get prompted for password

Expected results:
On resume you should not get prompted for password

Does this happen every time?
Yes

Other information:
Comment 1 miketosh 2008-12-09 12:04:41 UTC
Created attachment 124257 [details]
SCREENSHOT: Login window preferences
Comment 2 miketosh 2008-12-09 12:05:05 UTC
Created attachment 124258 [details]
SCREENSHOT: Screensaver settings
Comment 3 William Jon McCann 2009-04-14 02:21:09 UTC
Have you tried using either:

 * Remove password for the user
 * Set gconf key /desktop/gnome/lockdown/disable_lock_screen=true
Comment 4 miketosh 2009-04-14 12:48:06 UTC
(In reply to comment #3)
>  * Remove password for the user

I tried to remove the password for the user, which isn't possible.  (The user is a sudoer, so that is not optimal for me)

>  * Set gconf key /desktop/gnome/lockdown/disable_lock_screen=true

I do not know how to set that key.  I will be glad to try it though.
Comment 5 miketosh 2009-04-25 12:35:06 UTC
I have set gconf key /desktop/gnome/lockdown/disable_lock_screen=true, BUT! that now doesn't allow me to hibernate, and instead prompts me for a password!  Quite the opposite effect of what would be expected.
Comment 6 Micah Gersten 2010-10-26 15:38:02 UTC
This has been confirmed by two people running 2.30.0:
https://bugs.launchpad.net/ubuntu/+source/gnome-screensaver/+bug/666746

One of the users set the gconf key: /desktop/gnome/lockdown/disable_lock_screen=true
and it was fixed, could this be worked into gnome-screensaver?
Comment 7 William Jon McCann 2011-03-06 07:00:17 UTC
The screen lock just does what it is told to do.  If you want this behavior you need to make the other tools work with it.  There isn't anything we can do here.