I am running Linux Mint 12 with Cinnamon and sometimes when I leave my computer idle for a while, it will lock the screen. Usually, when I move the mouse a login prompt will pop up, but sometimes it doesn't. Then it's just a black screen with the time and my full name on a bar at the top of the screen. I can move the mouse, but nothing happens when I click on anything. When this happens I am forced to hard shutdown my computer, which is obviously not good. Does anyone know how to solve this?
Solving the issue would involve understanding why it is happening. You should start by looking through your logs to see if there are any obvious errors; begin with
/var/log/Xorg.0.log and the
lightdm log at
To avoid having to do the hard shutdown, next time it happens, switch to a console with CtrlAltF1 (or any of the F_ keys between 1 and 6) and login and restart the display manager with:
sudo service lightdm restart
You can then switch back to the console that
X (your GUI) is running in with CtrlAltF7 where you can log back into your Mint desktop.
I'm having the same trouble. I haven't found a solution yet, but you can avoid losing your work pretty easily. Hit ctrl-alt-F1 to get a terminal, log in, and run a
ps -A | grep cin
then kill all the cinnamon-screensaver processes.
DISPLAY=:0 cinnamon --replace
Then switch back to your main screen with ctrl-alt-F7 and continue working.