How can I restart X Window 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 Window Server from the command line? I'd really like to be able to restart my GUI without having to do a full system reboot. |
||||
|
First find which display manager your ubuntu is having with following command:
Than depending on what display manager, you can use one of the following commands:
Note: on systems with systemd (Ubuntu 15.04 and newer)
|
|||||||||||||||||||||
|
For 11.04 and earlier:
For 11.10 and later:
|
|||||
|
Found out that you can do
and it seems to work for me! |
||||
Newest version of Ubuntu as of 24 Oct, 2012.
Command Line:
|
|||
|
You can try pressing Ctrl+Alt+Backspace to restart X. |
|||||||||||||
|
Since ubuntu 9.04 Ctrl+Alt+Backspace is disabled, however you can now type Alt gr + Print Screen + K. |
|||||||||
|
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?