LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-22-2005, 04:37 PM   #1
Nauht
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, 04:54 PM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,631

Rep: Reputation: 228Reputation: 228Reputation: 228
As root run:

# /sbin/init 3

or

# /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, 06:37 PM   #3
Nauht
LQ Newbie
 
Registered: Apr 2003
Posts: 14

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


Reply


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 09: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 07:00 PM
samba windows and the command line just_dan Fedora 12 04-07-2005 01:09 PM
How to Install X Windows and a GUI from the Command Line CAL Linux - Newbie 13 09-12-2004 08:32 AM
RHLinux 9.0 hangs when exiting command line mellsie25 Linux - Newbie 2 10-17-2003 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:56 PM.

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