LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Boot in console mode (https://www.linuxquestions.org/questions/linux-newbie-8/boot-in-console-mode-162790/)

bradlygreen 03-26-2004 06:33 PM

Boot in console mode
 
I'd like to boot my RedHat Linux 8 box in console mode with no x-window.

How would I go about disabling x-windows?

Thanks,
- Brad

Dunedain 03-26-2004 06:36 PM

You go SuperUser

and then you edit the /etc/inittab file. You should set the "id:5:initdefault:" to "id:3:initdefault:"

And then you reboot and get the cute lil' command line :)

PS!: NEVER EVER! set the id: to 6, as you will go into a reboot loop.

Peacedog 03-26-2004 06:39 PM

i'm not familiar w/redhat so check to see if you have

/etc/inittab

if so look at the default runlevel

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

that is mine, and i boot to the cli. if i remember correctly, slack uses some different levels than other distros, so consult your documentation. i'm thinking the differences are in runlevels 4 & 5, but again consult docs for your distro.
good luck.

<edit> beat to the punch, and by a redhat user at that, what good luck. ;-)</edit>

Dunedain 03-26-2004 06:41 PM

EDIT - I must be blind and demented... posting the answer twice with just 1 post between...

bradlygreen 03-28-2004 01:00 PM

Awesome.
 
Worked like a charm.

Many thanks.

- Brad


All times are GMT -5. The time now is 11:47 PM.