Tuesday, 23 January 2018

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

Featured post

How to create dynamic schema in mongodb

Sometime what we need in our application is to create mongodb schema for collection and some of our collection schema are same but names are...

Popular Posts