PDA

View Full Version : [gnome] disable screen lock after sleep



sca33
November 6th, 2009, 03:34 PM
I've searched for possible solutions, and this did not help:

- uncheck all (use_screensaver_settings, suspend, blank screen, etc...) in gconf-editer /apps/gnome-power-manager/lock
- check disable_lock_screen in /desktop/gnome/lockdown
- LOCK_SCREEN=false in /etc/default/acpi-support

It's still show password prompt after I wake my laptop from sleep.

what else should I try?

//ubuntu 9.10

sca33
November 8th, 2009, 06:33 PM
up

Altay_H
December 2nd, 2009, 06:08 AM
I'm having the same problem. This is a particularly irritating bug because not even the hackish workarounds do anything to change the situation.

eris23
January 21st, 2010, 06:24 PM
System - Preferences - Screensaver
Needed to uncheck "Lock screen when screensaver is active"

riseringseeker
January 25th, 2010, 04:06 PM
System - Preferences - Screensaver
Needed to uncheck "Lock screen when screensaver is active"

I've done all of the above, and it still asks for a password from suspend. I even rebooted to make sure the settings were kept, they were. It comes back from suspend to a screen saver, but then asks for a password, even though it doesn't if I just let the screensaver activate with the timer.

mcduck
January 25th, 2010, 04:17 PM
There's a bug in the indicator-applet-session (the panel applet with shutdown buttons etc) that causes it to lock the screen when suspending (or switching users etc), regardless of what the actual gconf settings for screen locking are.

Currently there's no workaround other than using some other means to suspend the machine than through that applet.

riseringseeker
January 25th, 2010, 06:51 PM
There's a bug in the indicator-applet-session (the panel applet with shutdown buttons etc) that causes it to lock the screen when suspending (or switching users etc), regardless of what the actual gconf settings for screen locking are.

Currently there's no workaround other than using some other means to suspend the machine than through that applet.

Yeah, I found that out. The laptop works fine to resume passwordless from suspend if I do an Fn-F1 of close the lid. Working on getting suspend to work on the desktop now...

riseringseeker
January 29th, 2010, 04:33 PM
There's a bug in the indicator-applet-session (the panel applet with shutdown buttons etc) that causes it to lock the screen when suspending (or switching users etc), regardless of what the actual gconf settings for screen locking are.

Currently there's no workaround other than using some other means to suspend the machine than through that applet.

I have since found an easy way around it, at least if your running Karmic (don't know about earlier releases). Just hit CTRL-ALT-DEL, that brings up a menu much like the indicator-applet-session would. Suspending that way the system will not ask for a password when coming out of suspend, assuming you have it set that way.

marianomd
April 29th, 2010, 09:16 PM
Open up gconf-editor

Go to /apps/gnome-power-manager/lock/

Uncheck suspend and hibernate.

Cheers.

MountainX
June 25th, 2010, 03:37 PM
Here's my solution. It works on the Gateway LT2115u (LT-Series) which is a rebranded Acer Aspire One 532h.

Open the terminal, and type gconf-editor. Do NOT use sudo or you will not change the settings for your own user account!
In the left pane of the window that comes up go to apps > gnome-power-manager > lock .
On the right, UNCHECK suspend and hibernate and everything else except for use_screensaver_settings (this is the only one that is CHECKED)

Now go to main menu: system > preferences > screen saver
At the bottom of the window that comes up, uncheck "lock screen when screensaver is active"

The following commands should do the same thing...


gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings true
gconftool-2 --type boolean -s /apps/gnome-screensaver/lock_enabled false

tani1981
August 23rd, 2010, 07:44 PM
Do not know if you guys already solved this but I have a fix. Obviously you're not doing it right. Open gconf editor, do the above steps at apps., where you uncheck all 3 locks (screensaver, suspend and hibernate), but you also have to step back to main tree of gconf editor, desktop, gnome, lockdown, and finally check the: disable_lock_screen. Then reboot and try to suspend, no prompt screen should appear and it should take you to your desktop.

crtlbreak
September 2nd, 2010, 10:07 PM
Settings are immediate - this is not ******* ....You wont need to reboot
;)

mistafeesh
September 14th, 2010, 09:17 AM
Thanks guys, just came looking for that info, and that did the trick for me - had to do what tani1981 said too, before it was fixed.

What a relief! My laptop has a borked keyboard and I am currently using synergy with it from a mac. Had to plug in a kb to log in before I could carry on with work....

Cherry Cotton
October 20th, 2010, 07:50 PM
Do not know if you guys already solved this but I have a fix. Obviously you're not doing it right. Open gconf editor, do the above steps at apps., where you uncheck all 3 locks (screensaver, suspend and hibernate), but you also have to step back to main tree of gconf editor, desktop, gnome, lockdown, and finally check the: disable_lock_screen. Then reboot and try to suspend, no prompt screen should appear and it should take you to your desktop.

That really seems like overkill, though; in order to prevent the screen from locking when I don’t ask it to, I have to prevent the screen from locking at all.

I wish they’d fix this stupid bug >_<

menu
May 7th, 2011, 07:32 AM
@MountainX thank you! That fixed it for me! And a big thanks to the 11.04 developers for fixing the suspend/screen blank problems in this new release

KNtim
May 10th, 2011, 03:45 PM
Made the SAME mistake the previous poster pointed out. DO NOT USE SUDO when launching GCONF-EDITOR. Then uncheck the appropriate boxes.
Thanks!
They really need to fix this bug so I can just shut it off in the Screensaver settungs. Have have this happen in several itterations of Ubuntu.
Running 11.04 Natty Narwhal

sup
May 29th, 2011, 03:54 PM
There's a bug in the indicator-applet-session (the panel applet with shutdown buttons etc) that causes it to lock the screen when suspending (or switching users etc), regardless of what the actual gconf settings for screen locking are.

Currently there's no workaround other than using some other means to suspend the machine than through that applet.

For anyone interested, it is this bug: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/255228

techknowledge
January 25th, 2012, 11:53 PM
Here's my solution. It works on the Gateway LT2115u (LT-Series) which is a rebranded Acer Aspire One 532h.

Open the terminal, and type gconf-editor. Do NOT use sudo or you will not change the settings for your own user account!
In the left pane of the window that comes up go to apps > gnome-power-manager > lock .
On the right, UNCHECK suspend and hibernate and everything else except for use_screensaver_settings (this is the only one that is CHECKED)

Now go to main menu: system > preferences > screen saver
At the bottom of the window that comes up, uncheck "lock screen when screensaver is active"

The following commands should do the same thing...


gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/gnome_keyring_suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/hibernate false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock/suspend false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings true
gconftool-2 --type boolean -s /apps/gnome-screensaver/lock_enabled false

I wanted to thank you for the quick command list for committing the lock screen/blank screen as well as the hibernate/suspend information. It worked well on 32-Bit Desktop Edition on 11.04 Natty and 11.10 Oneiric.