How to restart ubuntu gui.

Sometime my GUI locks up and becomes unresponsive.This is usually shown by something like compiz eating 100% CPU usage in htop when I SSH in.

The easiest way to resolve this is to run this command to restart the lightdm service which handles the GUI.Note that you will be taken back to the login screen.


sudo service lightdm restart


No comments:

Post a Comment

Download the eBook of react js for beginners

ReactJS basically is an open-source JavaScript library which is used for building user interfaces specifically for single page applications...

Popular