With the default account settings, Ubuntu 11.04 requires the user to enter a password when the system comes out of sleep or screensaver mode. The latter setting is easily disabled by navigating to System Settings > Screensaver and unchecking the box Lock screen when screensaver is active.
Disabling the password prompt after sleep (suspend) is not clearly surfaced in the settings pane, however. It can easily be disabled by use of gconf-editor. Here’s how to go about it:
- Open a Terminal and enter gconf-editor
- In gconf-editor (Configuration Editor), drill down the directory tree on the left: / > desktop > gnome > lockdown
- Uncheck the box with label disable_lock_screen
That’s it. I wonder why this setting wasn’t exposed in the regular settings UI. It’s a potential security/privacy issue, but a valid option to set in case your computer is in a safe environment with no risk of being accessed maliciously when left alone.
Note: Using the disable_lock_screen option will also grey out the checkbox in the Screensaver settings dialog.