-   Linux - Newbie (
-   -   How to Shutdown X? (

Usumbara 01-11-2004 01:06 PM

How to Shutdown X?
Please don't hate me. I must be the only person in the world that can't figure this out.
(Using Fedora Core)

I'm attempting to install the NVidia drivers, and I'll be damned if I can figure out how to shutdown X to shell (Not reboot, not shutdown the computer)

I've googled, I've searched RedHat, and I've searched this forum. All I can come up with are people having problems shutting down, how to shut down the computer, how to reboot the computer, how to get to virtual consoles, and nothing on how to actually shut it down and go to a shell.

Skyline 01-11-2004 01:13 PM

su to Root user in an xterm then type:

init 3

b0uncer 01-11-2004 01:17 PM

well, if you're running X at the moment, it should shut down & go to console by pressing


and if a running X isn't a problem and you'll only need to get to shell, press CTRL+ALT+F2 (or, instead F2, any number from F2 to F6 - F1 is the shell where X usually automatically starts from). but if you're installing drivers, then close X as I told above :)

Usumbara 01-11-2004 04:49 PM

ok, I've encountered a problem.

Ctrl-Alt-Backspace just brings me back to the Login screen.

And init 3 worked *the first time* BUT now for some reason, it hangs when on "Anacron"

(The first time, it still hung, but I hit enter and the prompt came up.) Now if I hit enter, nothing comes up. It's blank. I can still type stuff, but absolutely nothing happens. (There's no prompt)

Any ideas?

(Fedora Core)

quatsch 01-11-2004 06:14 PM

press ctrl-alt-F1 (or anything from F2 thru F6). This will get you to a text screen. then do init 3 there. If it hangs, you can get to another text console with ctrl-alt-F2 and see if you can get X back up with init 5. You might also try going to single user mode first with init 1 and then up to init 3.

drkfir5 01-11-2004 07:58 PM

try this: ctrl-alt-F1, login as root, do a killall -9 kdm.
That should work for your avrage X-server kill.
init 3 will make the system change run levels, and is generally "over-kill."

All times are GMT -5. The time now is 02:51 PM.