On Thu, Mar 11, 2004 at 06:16:00PM +0100, Anders Johansson wrote:
On Thursday 11 March 2004 18.09, Peter N. Spotts wrote:
What's the best way to disengage that screen so that when SuSE 9.0 finishes booting up, I have a prompt that asks me to log in, then gives me another prompt at which I would type startx?
Edit /etc/inittab, look for the line that says
id:5:initdefault:
and change the 5 to a 3
That's a grossly oversimplified answer. I hope no one would make this sort of change without having at least a basic understanding of what's going on behind the scenes. Here is what needs to be known: * To boot without starting X11, boot into runlevel 3 instead of runlevel 5. * To do so as a one-time event, you can specify the runlevel to your boot manager (LILO or GRUB) at boot time. * To make this the default action, change your system's default runlevel to 3. * The default runlevel is defined in /etc/inittab. Runlevels, in essence, specify which services should be running. In SuSE, runlevel 5 is multiuser with network and xdm (X Display Manager), and runlevel 3 is multiuser with network. You can use YaST to make this change. In YaST (I'm using version ui-ncurses-2.8.20), it's done at: System Runlevel Editor Expert Mode Set default runlevel after booting to: This is covered in the SuSE Unofficial FAQ at http://susefaq.sourceforge.net/faq/admin.html#runlevel_change. The following is taken from the SuSE Administrator Guide (I'd provide a URI, but I can't find it published anywhere on SuSE's Web site -- can anyone help?): In Linux, runlevels define how the system is started. After booting, the system starts as defined in /etc/inittab in the line initdefault. Usually this is 3 or 5 (see Table 12.1). An alternative to this is assigning a special runlevel at boot time (e.g. , at the boot prompt). The kernel passes any parameters it does not need directly to init. To change runlevels while the system is running, enter init with the appropriate number. Only the superuser is allowed to do this. init 1 starts single user mode, which is used for the maintenance and administration of your system. After finishing work in S mode, the system administrator can change the runlevel to 3 again by typing init 3. Now all essential programs are started and users can log in and work with the system. Table 12.1 below gives an overview of available runlevels. Runlevel 2 should not be used on a system with a /usr partition mounted via NFS. Runlevel Meaning 0 System halt S Single user mode; from boot prompt with US keyboard layout 1 Single user mode 2 Local multiuser without remote network (standard) 3 Full multiuser with network 4 Unused 5 Full multiuser mode with network and xdm 6 System reboot Halt the system using init 0 or reboot it with init 6. Runlevel 5 is the default runlevel in all SuSE Linux standard installations. It allows users to log in directly to a graphical user interface. If you have already installed and configured the X Window System properly as described in 5) and want users to log in via a graphical user interface, change the runlevel to 5. Try it first by typing init 5 to see whether the system works as expected. Afterwards, set the default runlevel to 5 in YaST. -- Phil Mocek