how can I quit the desktop, to run shell only?
I'm running a linux half-life server, and I want to know how I can quit the "x windows system" or whatever it's called, so I'm running only the server, not all the pretty GUI stuff.
thanks noot |
if you have the X11 stuff installed all you have to do is open a terminal and type "inittab" and the run level you want. (it might be init. Don't remember)
so, inittab 3 = text / server mode inittab 5 = gui mode This works on the fly. If you want to do it permanently you have to edit the /etc/inittab file. You'll see a list if run levels and below that there is the level your currently running. See below. # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault: Being a newbei myself I leave the inittab file at 5 (the gui) and do the above commands to get to text. Somethings are just easier in the gui. Hope this helps. Good Luck Pete |
telinit 3
is the "right" way, but calling init directly usually works too |
That's right.
Thank You. |
If you prefer to start up in text all the time it's pretty easy. As pmrent said just open up a terminal and
Code:
cd /etc # Default runlevel. The runlevels used by RHS are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault: Just change the id:5:initdefault: to id:3:initdefault: save the file and then reboot. |
All times are GMT -5. The time now is 03:34 PM. |