Click to See Complete Forum and Search --> : i no longer want to auto boot x


Cruiserman
11-23-2000, 04:20 AM
i just did a clean install of Mandrake 7.2 on my laptop and inadvertantly have x booting auto. what config file do i need to edit to boot to console?

thanks in advance

Death on Wheels
11-23-2000, 04:22 AM
Open up /etc/inittab in vi and change the runlevel.

Alternatively, you could have just RTFM and had the answer that much sooner.

------------------
Kurt Weber
Shell scripts? Shell scripts? We don't NEED no stinkin' shell scripts!
White, heterosexual, middle-class, and proud!

ille_pugil42
11-23-2000, 09:05 AM
edit /etc/inittab

look for the line that says:

init:5: (it keeps going, just can't remember the rest)

change the 5 to a 3.

Unruly
11-23-2000, 10:30 AM
also, take note, if that doesn't work, there is still a way to make it work. Bascially, if your distro is at all like mine, then it's probably set up GDM or KDM or XDM to startup at every runlevel. So, look through your /etc/rc*.d and rename the S20gdm (or whatever it's called) to s20gdm -- this will tell linux to skip over it when you start up. As for the one's that start with a K those are scripts to kill the process upon reboot/halt, whatever. You can ignore them if you want, or if your anal like me, you can rename them in the same way that you did with the startup files (i.e. make the first letter lowercase).

Also, in case you were wondering on how to rename files (as it's usually not apparent to people).. it's mv <filename> <newfilename> (this is also the MOVE command, but it accomplishes the same thing as a DOS "rename" would).