Straightforward way to shut down graphical display on Fedora 7 from command line
Hi Folks,
This has been killing me for some time... begginners question I know, but still. How do you shut down the graphical display on Fedora 7 from the command line alltogether? I mean, like in Mandriva, you just type "/etc/init.d/dm stop" and that's it. Short of changing runlevel, I have no idea. Any help? Thanks! |
as a root user type init 1 or init 3
|
Try as root: init 3.
Oops 2 minutes too slow with my response :) |
Thanks guys, thats a solution. :)
However... The problem is that if I switch runlevel, some services go offline until I restart them. This comes with a disruption of the service (and lost sessions, uploads, etc etc). I guess the real catch is if I can kill out graphics without changing runlevel in Fedora 7? :) |
Quote:
You'll need to be root. |
Quote:
Code:
[root@gepard ~]# ls /etc/init.d/*dm* |
Hmmm. Fedora is different :(
Try this (as root) /sbin/service --status-all Look throught the list and identify whatever it is that refers to X Then /sbin/service servicename {start|stop|status|reload|restart} eg /sbin/service dm stop (I am guessing here!) |
Quote:
1) Grep for the process "/usr/sbin/gdm-binary -nodaemon" 2) When found, simply kill the process. Everything graphics related will die instantly. It's not enough to just kill Xorg, because it will be respawned immediately - but if you kill this gdm-binary, then all graphics will go away. Well... it "works for me", but I'm long way from being sure it works for anyone else. At least problem solved. |
Thanks for posting a solution.
|
All times are GMT -5. The time now is 10:08 PM. |