Ubuntu - Restart Gnome or KDE in command line

December 2016


To restart Gnome:
  • Open a terminal and type:
  • sudo /etc/init.d/gdm restart 

To restart KDE:
  • Open a terminal and type:
  • sudo /etc/init.d/kdm restart

Related :

This document entitled « Ubuntu - Restart Gnome or KDE in command line » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.