39

On GNOME the screen locks when I suspend, and I find that a bit annoying (no one else in the house uses ubuntu anyway haha). What can I do to stop this?

RolandiXor
  • 51,797

9 Answers9

36

For 11.10

What worked for me on Ubuntu 11.10 is to execute the following in a terminal:

gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

You can also install dconf-tools and use dconf-editor to set the same setting manually.

Jorge Castro
  • 73,717
19

For 13.04

Open a terminal (Ctrl+Alt+T) and type the following:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend 'false'
Alaa Ali
  • 32,213
8

For 11.04 and earlier:

  • Edit your acpi-support file by pressing Alt + F2 and pasting

    gksu gedit /etc/default/acpi-support

  • Find the line that says LOCK_SCREEN=true and comment it out to disable screen locking on resume.
    alt text

Jorge Castro
  • 73,717
karthick87
  • 84,513
5

For 12.04

In the Top-right position of the panel, Click on the Settings Icon, Choose System Settings. Choose System Settings -> Brightness and Lock.

Disable the Lock by Clicking on the Toggle Switch Button. This will prevent Automatic lock when system suspends.

You can of course Lock it by Pressing Ctrl+Alt+L Key combination always.

Anwar
  • 77,855
3

For 11.04 and earlier:

Run gconf-editor, then under /apps/gnome-power-manager/lock uncheck the suspend checkbox.

Jorge Castro
  • 73,717
2

On Ubuntu 22.04:

Open Settings -> Privacy -> Screen -> Lock Screen on Suspend

Emilio
  • 361
2

For 11.04 and earlier:

Did you verify that the option in the screen-saver about LOCKING the PC is off. Go to System > Preferences > Screensaver

Verify that Lock Screen when Screensaver is active is turned off. Also verify that Activate Screensaver when computer is idle is off too.

Looking around i found that you can also edit several Power Management options via the gconf-editor.

Press ALT+F2 and type gconf-editor

Go to: Apps > Gnome-Power-Manager > Lock

Check the option use screensaver settings This way it checks for the option you put in the screensaver window.

There might be other options there that will help you like gnome_keyring_hibernate and gnome_keyring_suspend (If they use the keyring they might be the ones asking for the password when locked)

This are EXTREME cases please let me know if they work so i can copy them here and make a reference:

First do this: http://ubuntuforums.org/showpost.php?p=9509427&postcount=10

Then do this: http://ubuntuforums.org/showpost.php?p=9756347&postcount=11

Jorge Castro
  • 73,717
Luis Alvarado
  • 216,643
2

For 11.04 and earlier:

If you disable the screen lock by setting /desktop/gnome/lockdown/disable_lock_screen, you will not need to unlock the screensaver when you resume from suspend.

gconftool -s /desktop/gnome/lockdown/disable_lock_screen -t bool true

This works for me on Ubuntu 10.04.

Jorge Castro
  • 73,717
2

On Lubuntu 13.10 :

  • Open Preferences
  • Open Xfce Power Manager
  • Open ? Extended and untick The Lock screen when going for suspend/hibernate box.
A.B.
  • 92,125
pete
  • 21