Shutting Down X Server : THE ULTIMATE NUBTARD QUESTION!
Alright either Im blind or not looking hard enough online... But I cant find the command to stop X server :X. I would say Im moderatly competent, but now I doubt that...
Im using Red Hat 9. Thanks all. :newbie: T3h Cowboy |
Just kill the PID - to see what X processes are running do:
ps -ef | grep X |
When I kill it, it automatically restarts...
EDIT: Im trying to install the latest nVidia Driver, and I need to shutdown X totally before I can do that. :newbie: T3h Cowboy |
Try a kill -9 to completely kill it or move to runlevel 3 "init 3".
|
Ok... Im getting really stupid now.
Doing that and it does kill it, however it still restarts the X server. Maybe I should ask this: Where should I run the command? Should I run it in console while in X, or should I ctrl+alt+f4 to the command line? Im trying to run it in the command line and when I run that, it starts X up and I have to do ctrl+alt+f4 to go back to the command line. Typing startx tells me that X is still running. The proccess ID changes everytime to, I do know that killing it is doing something... Maybe it would be easier to change it to text login...in that case how would I do that? :newbie: T3h Cowboy (thanks) |
u must be using a display manager like gdm , or kdm
kill the display manager and everything will be ok killall kdm or killall gdm or killall gdm-binary or best way is "init 3" as root |
Thanks guys, I didnt realize that init 3 was a command, so mad props to both of you!
:newbie: T3h Cowboy |
Sorry about this, but i was wondering how you shut it down on mandrake 10.0 ..
I need to install my Nvidia Drivers. and of course it says I need to shut down my X Server. :( hope some one could help.. Tks :newbie: |
type "init 3" as root (without the quotes)
to do that, press Alt+Ctrl+F1 login as root, then type init 3" that must do it. |
Note that some distros will leave X running under 3, so you might want to go all out and go
init 1 I usually do, because it's faster and loads minimal modules. Then you can init 5 and boom you're back. |
All times are GMT -5. The time now is 09:33 AM. |