How to disable screen locking after sleep on Ubuntu 9.10?

When the computer enters sleep it locks itself and I would like to avoid that. (Ubuntu 9.10)

Please don't upvote answers that don't work!


Try:

Go System > Preferences > Screensaver and uncheck the box that says lock when screensaver is active.

Else

gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_on_blank_screen false
gconftool-2 --type boolean -s /apps/gnome-power-manager/lock_use_screensaver_settings false

If these 2 don't work then

Open the terminal, and type gconf-editor In the window that comes up go to apps > gnome-power-manager > lock On the right, UNCHECK suspend and hibernate and make sure that the use_screensaver_settings is CHECKED

or -

In your terminal type sudo gedit /etc/default/acpi-support
Go to the line that says LOCK_SCREEN=true and put a # in front of it.

Close, save and try it out.

All solutions via UbuntuForums


To disable the screen lock on suspend you must open a gconf-editor and disable the following options:

/apps/gnome-power-manager/lock_on_hibernate = false

/apps/gnome-power-manager/lock_on_suspend = false

/apps/gnome-power-manager/lock_on_blank_screen = false

However with this settings when you press the suspend butto you get no screensaver at all and therefore no visible feedback until the laptop is switched off. I solved this second problem by creating a /etc/acpi/suspend.d/06-gnome-screensaver.sh script which starts the gnome-screensaver at the beginning of the sleep sequence. Now I have screensaver on suspend but no screen lock dialog on resume.

It would be nice if gnome-power-manager would rename the current lock_on_* options to screensaver_on_* and add a new lock_screen option to decide if locking the screen or simply activating a screensaver.