LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-25-2005, 06:25 PM   #1
intels_ss
LQ Newbie
 
Registered: Apr 2005
Location: Port Angeles, WA
Posts: 25

Rep: Reputation: 15
Ending an X session


This may be incredibly stupid question, but here she goes......

How do you close an X session once already started, without rebooting (obviously other than selecting log out). I trying to get back to command line without being in an X session.

Using Mandrake 10.1 and KDE.
 
Old 07-25-2005, 06:39 PM   #2
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
init 3 sends you to CLI(usually).
 
Old 07-25-2005, 06:39 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
There are a few ways, probably the best is to crack open a terminal and type -
Code:
init 3
You can just terminate X but if you're running a display manager like KDM, GDM, XDM or a few others it'll just start again.
 
Old 07-25-2005, 08:11 PM   #4
rebelscum
Member
 
Registered: Jul 2005
Distribution: Slackware 10.1
Posts: 44

Rep: Reputation: 15
Since I use kdm and it just restarts when I crtl-alt-backspace, I just do a
#ps -A and then
# kill (whatever kdm pid)

but telinit 3 is faster
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Never ending standby during boot up 10.1 OE samael26 Mandriva 4 12-05-2004 02:57 PM
Crash on ending KDE 3.2 session arubin Slackware 5 06-22-2004 06:14 PM
Xserver crashes after ending session (after upgrading tot kde 3.2.2) rutgerw Linux - Software 1 06-03-2004 04:06 PM
Ending in deb? liguorir Linux - Software 1 06-17-2003 06:15 PM
ending x session illtbagu Linux - Newbie 7 02-22-2003 01:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:57 AM.

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
Open Source Consulting | Domain Registration