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

Re: How do I enable X autologin without using a display manager?

On Wednesday 01 April 2009 00:41:37 Juergen Fiedler wrote:

> modify your inittab to only automatically log in to tty1.

To do what Juergen said about changing /etc/inittab, is just 
copy /etc/inittab from your live system and edit it. Give comments on 
tty2-tty6 like this:

1:2345:respawn:/bin/login -f live </dev/tty1 >/dev/tty1 2>&1
#2:23:respawn:/bin/login -f live </dev/tty2 >/dev/tty2 2>&1
#3:23:respawn:/bin/login -f live </dev/tty3 >/dev/tty3 2>&1
#4:23:respawn:/bin/login -f live </dev/tty4 >/dev/tty4 2>&1
#5:23:respawn:/bin/login -f live </dev/tty5 >/dev/tty5 2>&1
#6:23:respawn:/bin/login -f live </dev/tty6 >/dev/tty6 2>&1

Put your modified version of that file to config/chroot_local-includes/etc/ 
and try to build the live system (again).

<matton> it might be broken?
<al> matton: sigh... all software sucks, but usually there are symptomes
     beyond "it doesn't work"

	- Al Viro on #kernelnewbies

Reply to: