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?
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.
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
Summary: I currently have my runlevel set to 3 upon boot up, and I created a symlink called StartX (in /) to /usr/X11R6/bin/XFree86. The only problem is that when I type in StartX, the X server doesn't fully s...
Summary: Hi, How can i find the terminal command for a program. e.g. 'mozilla' typed in terminal will bring up the mozilla web browser. BUt how do i find the command for a particular program? thnx in advance ...