After not using the computer for a few hours, I return and see a black/blank screen. I see the mouse cursor. It responds to movements and it changes state as if the windows are there (changing to text or 'link thumb').
But all I see is a black screen. Anyone knows anything about this?
I occasionally have the same issue.
Try hitting Alt+F2 and then typing
unity --replace
.Have you tried restarting your window manager?
sudo /etc/init.d/gdm stop sudo /etc/init.d/gdm start
If that is the case, as you suggested in the comments it may be a memory leak or something with Compiz?
I had to disable the screensaver on my Thinkpad Edge 13 to solve a similar (same?) problem.
I think we nailed this one. You need to go to a tty shell (with no ui) by using, for example, ctrl+alt+F2. In the tty shell, you need to login and find any compiz process, using the command
Then, kill all the compiz processes:
Then run unity to initialize the UI:
Give it a moment to load and go back to the 'UI shell', using ctrl+alt+F8, to see the UI being initialized.
Another option (Can help a freeze - not just a black screen):
Go to a tty shell (with no ui) by using, for example, ctrl+alt+F2.
Just kill the compiz process (not compiz-decorator) - The UI will restart itself.
Identifying process id:
Killing the process:
Go back to the 'UI shell' (ctrl+alt+F7) - the UI will restart.
On Ubuntu 13.04, the following may help when you have a black screen and a mouse pointer or some other indication/knowledge that you are running the lightdm desktop manager that ships with Unity.
Open up TTY1 by typing Ctrl+Alt+F1 (or F2 for TTY2, etc).
Log in, then enter: