An annoying feature/bug of Ubuntu is:
When the computer resumes from suspend, the screen will be locked. In fact, the screen will be locked even if you have enabled automatic login and set the computer not-to-lock, when screen saver is activated.
Initially this post only included my own solution, but for convenience I've also added the (IMO) most promising solutions suggested by other users in this thread as well. If none of these suggestions worked for you, and you've found another solution that does, please post it here so I can add it as well.
How to fix?
10.04 Solution
1. As you've probably already done, uncheck:
"lock screen when screen saver is activated"
in the System->Preferences->Screen Saver menu.
2. Type gconf-editor in a terminal. Under apps/gnome-power-manager/locks check:
"use_screensaver_settings".
3. If still asked for password, you can (also in gconf-editor) go to desktop/gnome/lockdown and check:
"disable_lock_screen"
Credit to itslofty below for this tip!
PS. For some reason my mouse doesn't show up after resume. To get it back I just switch to another workspace and then back again, i.e: ctrl+alt+rightarrow and then ctrl+alt+leftarrow.
11.10 Solution
1. First try the Lock/Unlock button in System Settings -> Personal -> Screen (suggested by brallan, below).
2. If this doesn't work, try the command
see RaymandJr's post below for further info.Code:gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'
Bookmarks