View Full Version : How to exit or kill the X server in FC2?
10th June 2004, 02:19 PM
How to exit or kill the X server in FC2?
10th June 2004, 02:34 PM
Press Ctrl + Alt + Backspace
10th June 2004, 03:14 PM
but it only returns to the logon window ?
I mean to turn off the X so I can install m video card driver
10th June 2004, 03:33 PM
To shut down the X server open a console shell and login as root( type "su" at the command prompt)
Then type "init 3"
This will put you in runlevel 3 which is text only. Once you have installed your video drivers then you can restart the X server by entering runlevel 5. Type "init 5"
Hope this helps
10th June 2004, 03:53 PM
First suggestion: since installing a new video driver usually requires modifying the xorg.conf file, make a backup copy of your currently working one! This will save you lots of aggravation when/if something doesn't go quite right...
Before re-entering Runlevel 5 (with the init 5 command), I would strongly suggest trouble-shooting from Runlevel 3 first. Once you have the driver installed (and xorg.conf configured properly), type startx to see if you did it right. If you did, you should see root's desktop. If not, you'll have to start digging to find out where things went wrong. The best place to start will be /var/log/Xorg.*.log (where * is usually "0").
If you do get the desktop, just logout and that will end the X-session. If you don't get the desktop, but something bizarre and not the text console, you can use CTRL+ALT+BACKSPACE to terminate X. If that doesn't work, use CTRL+ALT+F1 to get back to the console and press CTRL+C to "kill" the X server.
If that doesn't work and you think you've totally toasted your machine, don't worry - you haven't. It can be recovered - just use the Rescue CD, find the backup file mentioned above and copy it back to /etc/X11/xorg.conf and reboot. This should get your system back to functional.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.