LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Boot to command prompt (https://www.linuxquestions.org/questions/linux-software-2/boot-to-command-prompt-154585/)

tobythelard 03-07-2004 11:03 AM

Boot to command prompt
 
After running a SuSE Linux 9 installation for a while as a desktop machine I'd like to use it as a server and stop it booting to KDE and just bring up a simple login screen, leaving everything else untouched.

How is this done? I've been searching for a bit but found nothing that answers this.

Thanks in advance,
Toby

itsjustme 03-07-2004 11:07 AM

Not sure about in SuSE, but take a look in /etc/inittab and change the line:

# Default runlevel. (Do not set to 0 or 6)
id:5:initdefault: - (or whatever it is)

to id:3:initdefault

s34n 03-07-2004 11:08 AM

Look at your /etc/inittab file and change the default runlevel to 3

STeeF 03-07-2004 11:08 AM

The default init level is set in /etc/inittab. I don't know exactly for Suse but should be somewhat the same to my Debian:

#/etc/inittab: init(8) configuration.
# $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $

# The default runlevel.
id:5:initdefault:


This says that the default runlevel is 5 (GUI/X11) runlevel 3 should be the "console" only runlevel
Check "man init" for more hints

Cheers,
Stefan

tobythelard 03-08-2004 02:24 AM

Now you guys are really fast - 3 replies in as many minutes. Many thanks for the info.

Toby


All times are GMT -5. The time now is 11:13 AM.