I love Ubuntu.
Nothing is perfect though, and ubuntu does freeze some times.
Basically the GUI stops responsing, may be just your mouse pointer moves at the most, nothing more. The most obvious step seems to be alt-ctrl-del, the three-finger salute. But what to do if even that doesn’t work ?
Well, if you can bear all your applications getting closed, you can restart just the GUI (X) by doing this :
- Switch to tty2 by pressing alt-ctrl-F2
- login with your credentials
run the command : <div class="highlight"><pre>
sudo kill `pgrep XOrg`</pre></div>
- enter your password
and voila! you’re at the login screen. I know what you were doing is gone, but at least you didn’t have to restart ;)
Do comment if you’ve a better way, preferably without killing Xorg.
Thanks for reading!