[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sheflug] Login Screen



Darrell Blake wrote:

> I'm running Slackware 7.1 and I am wondering if I can change any
> config file so that I get a login screen on boot. When I type startx
> it automatically loads the default window manager that I chose when
> installing the distro. One of my friends is running the same distro
> and installed it exactly the same way but he gets a login screen
> when he types startx.
> 
> Darrell

edit /etc/inittab - On line 23 of my Slackware 7.0 installation you have

id:4:initdefault:

This tells init to use runlevel 4 as default - this uses an X window 
system graphical login. Change the 4 to a 3 & reboot and the system will 
boot to text-based login.

Slackware's runlevels are

0 Halt
1 Single user
2 Not used
3 Multi user + text based console
4 Multi user + graphical login
5 Not used
6 Reboot

So, typing 'shutdown -h now' is the same as 'init 0' (less keypresses, 
bonus!) or 'init 6' instead of Ctrl-Alt-Del. Try 'man init' & 'man 
inittab' for more information.

--
A. Basterfield
U/G Electronic & Communication Engineering
The University of Sheffield

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.