Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-22-2005, 05:37 PM   #1
LQ Newbie
Registered: Apr 2003
Posts: 14

Rep: Reputation: 0
command line to Exiting X windows ?

Is there a command line that I can type to exit cleanly from X windows? I'd like to avoid doing 'Killall X' if possible. Thanks.
Old 11-22-2005, 05:54 PM   #2
Senior Member
Registered: Oct 2003
Posts: 2,666

Rep: Reputation: 238Reputation: 238Reputation: 238
As root run:

# /sbin/init 3


# /sbin/telinit 3

Finally, on many distros hitting Ctrl-Alt-Backspace will kill X but it will usually respawn immediately to a graphical login screen.
Old 11-22-2005, 07:37 PM   #3
LQ Newbie
Registered: Apr 2003
Posts: 14

Original Poster
Rep: Reputation: 0
Excellent. Thanks a lot.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
X Windows + KDE from Command Line RedHatCore Linux - Software 1 08-11-2005 10:07 PM
How can I go to the windows screen from the command line on suse, on run level 3? abefroman SUSE / openSUSE 1 05-08-2005 08:00 PM
samba windows and the command line just_dan Fedora 12 04-07-2005 02:09 PM
How to Install X Windows and a GUI from the Command Line CAL Linux - Newbie 13 09-12-2004 09:32 AM
RHLinux 9.0 hangs when exiting command line mellsie25 Linux - Newbie 2 10-17-2003 10:27 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration