What to do if Ubuntu freezes ?
08 February 2014

I love Ubuntu.

Nothing is perfect though, and ubuntu does freeze some times.

Symptoms

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 :

			sudo kill `pgrep XOrg`
		

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!