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:

CPP Quick Guide

Basics Hello world User input While loop If statement For loop Switch statement Read file using ifstream Write to a file using ofstr...