Saturday, April 28, 2012

Restart X from command line in Ubuntu

To restart X from the console, open a terminal session (e.g., Ctrl+Alt+F1), then do:
$: sudo restart lightdm

Note that any child processes created by X will also be killed.

Tested on: Ubuntu 11.10

~ts

No comments: