restart x-windows

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.

link | improve this question

75% accept rate



feedback

4 Answers

up vote 13 down vote accepted

Depending if you use gdm (gnome) or kdm (KDE) you can use one of the following commands:

<code>sudo restart gdm
</code>

or

<code>sudo restart kdm<br /></code>
link | improve this answer


你可能感兴趣的:(windows)