View Full Version : How do i run redhat...
R4NG3R
June 10th, 2003, 06:29 PM
How do i run redhat without the GUI. Just the terminal. I figure that might speed up my server a tad.
twistedcranium
June 10th, 2003, 06:58 PM
If you're running a server and don't really need consistent use of the gui in X Windows.....
http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/s1-x-runlevels.html
ceh383
June 11th, 2003, 12:09 AM
On my system(Slackware9) edit the "/etc/inittab" file. Change the line that says.....
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
to
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
R4NG3R
June 11th, 2003, 12:16 AM
isn't there something simpler, like pushing a key to make it stay in the terminal? kinda like safemode for windows
smurfy
June 11th, 2003, 02:07 AM
Yep but you'll have to wait till I get home to direct you to it.
There is a GUI tool in the KDE control centre that should allow you to define whether to boot to a graphical desktop environment or not.
R4NG3R
June 11th, 2003, 09:45 PM
oh ok, i think i can wait. thanks
R4NG3R
June 12th, 2003, 04:50 AM
yo smurfy...where do you live man? how far do you commute to work?
ceh383
June 12th, 2003, 11:51 AM
Ya know, it would take less than two minutes to edit the XF86Config file by hand......
And it's easy to do.
smurfy
June 12th, 2003, 12:22 PM
LOL, some of us like a GUI interface, even if it's just to turn the GUI off!
R4ng3r, this is in Mandrake9.0 should be the same or VERY similar in your RedHat.
There is a package called LinuxConf (I think it's not installed by default).
If it's not installed you should be able to do it from the package manager.
On my KDE desktop, it's under Configuration > Other > LinuxConf may be different on your menu so you can find it in /bin/linuxconf
Run it.
You'll need root permissions (will prompt you for root password if you're logged in as a user).
Boot option on the LlinuxConfig menu
Brings up a message...
"You are allowed to define the default boot mode of this computer"
Click "Default boot mode" button.
Select either "Graphic & Network"
or
"Text mode and Network"
p.s. Although I'm on the other side of the world to you, you're right it doesn't take me this long to get home from work. Long story last night about fighting with RedHat7.1 (old old Kernel) Xconfigurator and my new GeForce4 card!
R4NG3R
June 12th, 2003, 05:12 PM
aight coo thanks man!
twistedcranium
June 12th, 2003, 05:36 PM
Originally posted by smurfy
LOL, some of us like a GUI interface, even if it's just to turn the GUI off!
9 times out of 10, the GUI configuration that you're making is simply adjusting a text file that you could have edited via the console and vi. So that config panel is really just adjusting the runlevel for you. Granted this is an approach for those more comfy with GUI's...but, you can't always edit configs with guis. R4NG3R, to become really knowledgeable about what you're configuring, it pays to get at the text files.
p.s. Although I'm on the other side of the world to you, you're right it doesn't take me this long to get home from work. Long story last night about fighting with RedHat7.1 (old old Kernel) Xconfigurator and my new GeForce4 card!
oh, R4NG3R, remember this point as well: some of us here on the forums have some responsibilites that keep us away from the computer at times....give those working folks a break! :)
R4NG3R
June 12th, 2003, 05:45 PM
yeah i know, srry
R4NG3R
June 12th, 2003, 10:34 PM
btw, if it boots without the GUI, how do i get it back?
ceh383
June 12th, 2003, 10:44 PM
Type....
startx
R4NG3R
June 13th, 2003, 12:04 AM
ok thanks, but i can't find my linuxconf file. WHERE IS IT!!! thanks
smurfy
June 13th, 2003, 01:52 AM
I told you where it is, or if it's not there where to get it.
There is a package called LinuxConf (I think it's not installed by default).
If it's not installed you should be able to do it from the package manager.
On my KDE desktop, it's under Configuration > Other > LinuxConf may be different on your menu so you can find it in /bin/linuxconf
by twistedcranium
9 times out of 10, the GUI configuration that you're making is simply adjusting a text file that you could have edited via the console and vi. So that config panel is really just adjusting the runlevel for you. Granted this is an approach for those more comfy with GUI's...but, you can't always edit configs with guis. R4NG3R, to become really knowledgeable about what you're configuring, it pays to get at the text files.
Granted but I'm going to make a M$Windows comparison here.
This is much like saying if you want to tweak Windows you should learn to do it in the registry rather than using the likes of TweakUI.
Changing settings from the GUI is (usually) SAFE. Beginners (and I include myself in that description) changing settings by editing the conf files (or the M$ registry) can be a quick path to re-installville.
ceh383
June 13th, 2003, 11:50 AM
changing settings by editing the conf files (or the M$ registry) can be a quick path to re-installville.
True, but isn't that a great learning tool :no: Been there done that, found myself saying "Gotta remember not to do that again"
I think I've learned more in the past few weeks using Slackware(no gui configuration tools) than I did using Red hat off and on for the past two years.