2

12.04 (32-bit), Unity desktop skips the login screen after resuming from suspend mode. It just starts the session with the user logged in. I have a password set and it shows the login screen on boot or reboot, and it was the same on resume after suspend, but recently it starts skipping the login screen on resuming after suspend. I would like to have the login screen showing up again after suspend. How can I fix this?

Thank you for your time and help!

This is my settings in System Settings -> Brightness and Lock

enter image description here

And in Ubuntu Tweak the Login Settings:

enter image description here

Radu Rădeanu
  • 174,089
  • 51
  • 332
  • 407
venta7
  • 127

3 Answers3

1

You actually just need to have gnome-screensaver installed and running.

I needed to add it to the list of apps to start when signing in.

Require password after suspend is a setting for this piece of software.

Andy
  • 614
0

It could be worth checking your user account and making sure that the Automatic Log in option is set to Off

enter image description here

As you can see from the image above, I have mine set to ON.

Simon
  • 4,843
0

Found the answer of my troubles: I've had Nemo installed before as an alternative to Nautilus and it requires Cinnamon desktop environment. I didn't like the integration of Nemo with Unity and moved back to Nautilus as a default file explorer. I've used the following commands to remove Nemo:

exo-preferred-applications
sudo dpkg -r nemo-fileroller
sudo dpkg -r nemo
sudo add-apt-repository --remove ppa:gwendal-lebihan-dev/cinnamon-stable

Perhaps at that time I forgot to remove Cinnamon also and I had cinnamon-screensaver running along with gnome-screensaver (checked on System Monitor). I found this thread how to remove cinnamon which helped me to remove Cinnamon using:

sudo apt-get --purge autoremove cinnamon 

I didn't understand after that how gnome-screensaver was gone as well, so I've installed it:

sudo apt-get install gnome-screensaver

Now I found this thread also (of which mine is duplicate): why doesn't ubuntu 13.04 prompt me for a password after suspend?

Many thanks to @user68186 who tipped me to look for Lock screen and Password prompt skipped after suspend.

venta7
  • 127