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?
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:
3. If still asked for password, you can (also in gconf-editor) go to desktop/gnome/lockdown and check:
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.
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'