LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ending an X session (https://www.linuxquestions.org/questions/linux-newbie-8/ending-an-x-session-346709/)

intels_ss 07-25-2005 06:25 PM

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.

cs-cam 07-25-2005 06:39 PM

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.

tuxdev 07-25-2005 06:39 PM

init 3 sends you to CLI(usually).

rebelscum 07-25-2005 08:11 PM

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


All times are GMT -5. The time now is 10:43 PM.