LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 01-11-2004, 01:06 PM   #1
Usumbara
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Rep: Reputation: 0
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.
 
Old 01-11-2004, 01:13 PM   #2
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
su to Root user in an xterm then type:

init 3
 
Old 01-11-2004, 01:17 PM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

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

CTRL + ALT + BACKSCAPE

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
 
Old 01-11-2004, 04:49 PM   #4
Usumbara
LQ Newbie
 
Registered: Jan 2004
Posts: 6

Original Poster
Rep: Reputation: 0
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)
 
Old 01-11-2004, 06:14 PM   #5
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
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.
 
Old 01-11-2004, 07:58 PM   #6
drkfir5
Member
 
Registered: Jan 2004
Distribution: SuSE 9.0
Posts: 41

Rep: Reputation: 15
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."
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help on how to save services shutdown or shutdown from the terminal. wambuzz Linux - General 2 03-11-2005 08:38 AM
Linux full shutdown vs. manual shutdown? LQtoto Linux - General 9 01-26-2005 07:21 PM
unable to 'shutdown' from x... need to shutdown using 'halt' guitarnix Linux - Newbie 5 11-24-2003 02:00 AM
konsole shutdown possible? or key combo = shutdown possible? Laptop2250 Linux - Newbie 3 11-16-2003 11:44 AM
shutdown hang during eth0 shutdown kurtisw Linux - Networking 5 10-30-2003 03:49 PM


All times are GMT -5. The time now is 01:24 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration