how to disable xserver
my xserver runs well, but I want to disable it temporarily, I tried to disable the demon from the /etc/inittab and restart but still I can execute startx, I tried to disable /etc/ X11/gdm/gdm.conf enable= disable option and restart still I can execute startx and run KDE
My question is , which file should I modify so executing startx won't run . I want to prevent xserver from ruunning.. thanks chris |
coudn't you just remove or uninstall X then.. ?? if your not wanting it to run ever, it would be pointless to have on your system taking up space i would presume.
|
I dont care the space it consumed , i just want it to disable temporarily
i think this question needs an answer |
ok, you can remove the startx from your path.. that might or should work. or if your the only user on the system, then don't run the command, if there are others, change the permissions so regular users can't use it..
|
Quote:
Of course, you might need to do the same for commands like startkde as well. |
thanks guys I've got the idea right now
|
Would simply changing the default runlevel not have the desired effect?
|
I guess not as xtian500 mentions that startx still will run the Xserver.
Actually startx is a script to load the xserver with certain settings. You can run X to run the xserver as well. Don't know exactly how to shut of xserver temporarily. |
All times are GMT -5. The time now is 04:12 AM. |