About Linux FAQ

Browse More FAQs:

How to: Stop X.Org Server

Posted by Vivek on Tuesday November 13, 07 @2:49 pm

Q. How do I start or stop X.Org from a command prompt?

A. X.org is open-source implementation of the X11 system. It is an open source X11-based desktop infrastructure. Xorg provides an interface between your hardware and the graphical software you want to run. Besides that, Xorg is also fully network-aware, meaning you are able to run an application on one system while viewing it on a different one.

Start X.Org Server

There are two ways, just type startx:
$ startx
Alternatively, run init script such as /etc/init.d/gdm
# /etc/init.d/gdm start
OR
$ sudo /etc/init.d/gdm start

Ctrl+Alt+Backspace - to stop server

Press Ctrl+Alt+Backspace to immediately kill the server - no questions asked.

Agian, you can use init script to stop session:
# /etc/init.d/gdm stop
OR
$ sudo /etc/init.d/gdm stop

Subscribe to our free e-mail newsletter or RSS feed to get all updates. You can Email this page to a friend.

Related Linux / UNIX FAQ:

Discussion on This FAQ

  1. Binny V A Says:

    Another method is to change the runlever…
    init 3 - turn off X
    init 5 - turn on X

Leave a Reply

We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Please do not use the comment form to ask for help / question. Ask your question on the excellent Linux tech support forum. Thank you very much for stopping by our site!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Tags: , , , , , , , , , ~ Last updated on: November 13, 2007

Copyright © 2006-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.