Click to See Complete Forum and Search --> : How do I stop X?
newbie here...
I try the "CTRL+ALT+BACKSPACE", but it just takes me back to the gnome login screen and if I do the same there it clicks off and displays the gnome login again. Is there some other way to do this while still in X? I know I can do it at reboot sometime (if you wanna tell me you can), but is there another way without a reboot?
Thanks in advance...
SlCKB0Y
11-29-2000, 08:56 PM
As root do this in a terminal window
ps -aux
Now you should look in this list for something that looks like
/usr/bin/X11/X
as this is the X server. Now you need to look in the column that tells you its process id (PID).
Then issue the command as root
kill PID
where PID is the number that you just noticed referred to X. It might be something like "kill 534"
But after you do this you should be placed at a command prompt. If this doesnt work, you may have to do ps -aux, and look for the process ID of the gnome display manager and kill this first.
scott_R
11-29-2000, 09:23 PM
Not that you don't already know this, but you can also temporarily jump out of X by hitting ctrl-alt-F1 (or F2, etc.)
To get back in, hit ctrl-alt-F7
Sweede
11-29-2000, 09:24 PM
why do that, Sickboy ?
switch to a console (ctrl+alt+F1 or something),
login (as root or normal user),
su to root if need be.
init 3
if you dont want to boot the GUI,
edit your /etc/inittab file and change the default runlevel from 5 to 3
Thanks everyone. Exactly what I needed. http://www.linuxnewbie.org/ubb/biggrin.gif