How can I restart x-server from the command line?
I'd really like to be able to restart my gui without having to do a full system reboot.
|
How can I restart x-server from the command line? I'd really like to be able to restart my gui without having to do a full system reboot. |
|||
|
|
|
Depending if you use lightdm (ubuntu 11.10 and later), gdm (gnome) or kdm (KDE) you can use one of the following commands:
,
or
UPDATE: From 12.10, Kubuntu also uses lightdm |
|||||
|
|
You can try pressing Ctrl+Alt+Backspace to restart X. |
|||||||||||||
|
|
For 11.04 and earlier:
For 11.10 and later:
|
||||
|
|
|
Since ubuntu 9.04 Ctrl+Alt+Backspace is disabled, however you can now type Alt gr + Print Screen + K. |
|||||||
|
|
This blog article describes the best way to bind the |
|||||
|
|
Newest version of Ubuntu as of 24 Oct, 2012.
Command Line:
|
|||
|
|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.