LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-15-2005, 07:11 PM   #1
trentr
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
Can't shut down X server, tried everything(?)


I have Fedora Core 4, and am trying to install Nvidia drivers. I read previous threads on shutting down the X server to do this, but nothing in them helped, although I wasn't sure if I did it right. If anyone could help me I would appreciate it so much! Here is what I tried:

- I tried going down to run level 3 by typing init 3, but the computer freezes
- I tried starting up in Failsafe mode, but it still just says that the X server is running when I try to install driver
- I tried pressing ctrl + alt + backspace but it doesn't shut down the X server, only takes me back to the login manager
- I heard something somewhere about running a "etc/init.d/gdm stop" or "etc/init.d/*dm stop" but I don't appear to have any files of this nature, except "gdm-allow-login" and "gdm-early-login". Also I have a file called gpm. I don't, however, know how to do such a "stop" if it is one of those files.
- Also, just for the heck of it, I did an interactive startup and prevented it from actually starting the x server (I believe, the process started with an "x" anyway, and it came up with some message that it couldn't start the x server, but then it wouldn't allow me to type anything and the screen kept flashing black until finally it said it was going to restart or something).

If anyone can help me, I thank you greatly for your assisance in advance. You are very kind!
 
Old 11-15-2005, 09:44 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 78
Quote:
- I tried going down to run level 3 by typing init 3, but the computer freezes
- I tried starting up in Failsafe mode, but it still just says that the X server is running when I try to install driver
Both of those should have worked. That is strange...

Quote:
- I tried pressing ctrl + alt + backspace but it doesn't shut down the X server, only takes me back to the login manager
I heard something somewhere about running a "etc/init.d/gdm stop" or "etc/init.d/*dm stop" but I don't appear to have any files of this nature, except "gdm-allow-login" and "gdm-early-login". Also I have a file called gpm. I don't, however, know how to do such a "stop" if it is one of those files.
Yeah, gdm will just restart if you kill X. Some systems generalize your display manager as "xdm" in your initscripts, because it doesn't know if you are using xdm, gdm, or kdm. Do you have a script called "xdm" in /etc/init.d?

Also, I don't know about Fedora, but some systems have their initscripts in /etc/rc.d/ instead of /etc/init.d/.
 
Old 11-15-2005, 09:50 PM   #3
m0lissa
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
Can't shut down X server, tried everything(?)

I'm right there with 'ya. Installed Debian on an ancient Tandy 4825SX (upgraded proc @ 100mhz, 20MB RAM, and CD-ROM - which I can't boot from, 2GB HD, and no NIC). Had all kinds of crap setting up the display, then the mouse, and finally(!) something GUI this way comes. But-- (there's always a 'but') my screen is FUBAR. Only the bottom half of the screen is visible and the resolution is so low I can't see a scrollbar or menu commands or move a window. And I can't exit out! I log out and get a login screen. Then I try Alt+F2 or CTRL+Alt+Backspace and Xwindows shuts down... and then immediately restarts, putting me on a loop. How do I get out of Xwindows??? Me and trentr are trapped in here! Save us!
 
Old 11-30-2005, 05:06 PM   #4
jekoontz
LQ Newbie
 
Registered: Nov 2005
Posts: 1

Rep: Reputation: 0
Since you're using Fedora, I'd recommend not worrying about shutting down X. You can get to a non-X environment in another virtual terminal, e.g., ctrl-alt-F1 (short wait), and log in there, do your install and proceed.

To restart X log out and in in virtual terminal 7 (c/aF7). If you have a bad setup, click through the complaints (checking logs as desired) until it shuts X down for you. Take another wack at the mods and reboot.

My 2 cents.
 
Old 11-30-2005, 06:55 PM   #5
Gsidious
Member
 
Registered: Nov 2005
Location: Oregon
Distribution: Ubuntu
Posts: 64

Rep: Reputation: 17
Thumbs up Re: Can't shut down X server, tried everything(?)

Well, it's odd that the computer froze with "init 3", probably didn't freeze really, just left you at a terminal you couldn't interact with. You could try "init 3" then after X is shut down type "Ctrl-Alt-F2" to get to another terminal... then install the nvidia driver. Option two: force it to boot up in text mode at runlevel 3; Reboot then at the Grub boot screen, press the SpaceBar or any key to interupt the boot, then an "e" key to edit. Down-arrow to the "kernel" line and type "e" again, and add " vga=normal init 3" to the end of the line. Hit the "Enter" key to save the change, then "b" to boot. You should end up at a text mode login, no Xserver running and can install your driver...

Quote:
Originally posted by trentr
I have Fedora Core 4, and am trying to install Nvidia drivers. I read previous threads on shutting down the X server to do this, but nothing in them helped, although I wasn't sure if I did it right. If anyone could help me I would appreciate it so much! Here is what I tried:

- I tried going down to run level 3 by typing init 3, but the computer freezes
- I tried starting up in Failsafe mode, but it still just says that the X server is running when I try to install driver
- I tried pressing ctrl + alt + backspace but it doesn't shut down the X server, only takes me back to the login manager
- I heard something somewhere about running a "etc/init.d/gdm stop" or "etc/init.d/*dm stop" but I don't appear to have any files of this nature, except "gdm-allow-login" and "gdm-early-login". Also I have a file called gpm. I don't, however, know how to do such a "stop" if it is one of those files.
- Also, just for the heck of it, I did an interactive startup and prevented it from actually starting the x server (I believe, the process started with an "x" anyway, and it came up with some message that it couldn't start the x server, but then it wouldn't allow me to type anything and the screen kept flashing black until finally it said it was going to restart or something).

If anyone can help me, I thank you greatly for your assisance in advance. You are very kind!
[IMG]http://[/IMG]
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to shut downd X server from X server? mac1234mac Linux - Software 2 09-16-2005 12:02 PM
X-server.. how do I shut overproof Linux - Newbie 6 04-08-2005 12:43 AM
How do I shut down the x-server? JackieBrown SUSE / openSUSE 1 12-29-2004 07:50 PM
Auto shut down server ! the_reen Red Hat 1 07-08-2004 10:01 PM
how do i shut down X server? yzrider210 Linux - Newbie 17 11-21-2003 07:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:26 PM.

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