Home Tips and Instructions Linux & UNIX Stopping, Starting, and Restarting the X Server
Stopping, Starting, and Restarting the X Server PDF Print E-mail
To temporarily stop the X server:

First get to a text console by using ctrl-alt-F1 and then: (*Note: ctrl-alt-F1 does NOT kill X, it only drops you to a text console.)

On Fedora:

As root type: 

init 3

On Ubuntu/Xubuntu/Debian:

Type:

 sudo /etc/init.d/gdm stop

On Kubuntu:

Type:

 sudo /etc/init.d/kdm stop


To permanently stop the X server you will need to edit your /etc/inittab file:

Change the line that reads: 

id:5:initdefault:
to 
id:3:initdefault: 

To start the X server:

When logged in as root type:

startx

 

To restart the X server:

 First make sure that you don't have any programs open and then use Ctrl-Alt-Backspac.

 ctrl-alt-F7

Comments (0)
Write comment
Your Contact Details:
Comment:
[b] [i] [u] [url] [quote] [code] [img]   
:D:angry::angry-red::evil::idea::love::x:no-comments::ooo::pirate::?::(
:sleep::););)):0
Security
Please input the anti-spam code that you can read in the image.