Computing.Net > Forums > Linux > How do I shutdown the X server?

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

How do I shutdown the X server?

Reply to Message Icon

Name: Hiran
Date: October 14, 2002 at 11:08:32 Pacific
OS: Mandrake 8.2
CPU/Ram: AMD Athlon 900/128 MB
Comment:

I am planning to install the latest patch for XFree86, but I don't know how to shutdown the X server. When I logout of KDE, at the login screen there's an option to shutdown, but that shuts down the whole computer. I know that I can switch to another virtual console and use the kill command, but I don't know what PID the X server has. Is there any way I can find this out? Or any other way I can shutdown the X server? Thanks.

God bless
Hiran



Sponsored Link
Ads by Google

Response Number 1
Name: Trip
Date: October 14, 2002 at 12:10:31 Pacific
Reply:

At a console prompt run: top
This will let you see avail processes. Type
k and then a PID to kill the process of your
choice.


0

Response Number 2
Name: Frank Mimbs
Date: October 14, 2002 at 17:04:43 Pacific
Reply:


Open a terminal and type
init 3

this will dump you to the command prompt and you'll have to log in again.

To restart the xserver, either type
startx
or type
init 5


0

Response Number 3
Name: Thunderbird Mania
Date: October 14, 2002 at 18:48:42 Pacific
Reply:

The X server is not started in the runlevel 3. thats why you should switch to runlevel 3 rather than runlevel 5. you also can switch to runlevel 1. just note that every times you having GUI, u are working under runlevel 5. to know what runlevel ua in just type "runlevel". if you want to swich between runlevel, just type "telinit x" or "init x". x can be
0 - shutdown
s/S/1 - single user mode
3 - multi user mode without X server
5 - multi user mode with X server (GUI)
6 - reboot

actually "telinit" is a symlink to "init"

hope thats helped.


0

Response Number 4
Name: spanky76
Date: October 18, 2002 at 21:54:34 Pacific
Reply:

Have you tried Ctrl-Alt-Shift-Backspace?


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


dual boot DMZ xp-rh >inte... Monitor in Redhat 8.0



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: How do I shutdown the X server?

Starting X server problems www.computing.net/answers/linux/starting-x-server-problems/15091.html

How do I set the new hardware clock time ? www.computing.net/answers/linux/how-do-i-set-the-new-hardware-clock-time-/1641.html

How do i know the command for an APP ? www.computing.net/answers/linux/how-do-i-know-the-command-for-an-app-/6691.html