john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Linux autologin using mingetty inittab

linux-autologin-using-mingetty

apt-get install mingetty

nano /etc/inittab

1:2345:respawn:/sbin/mingetty --noclear --autologin username tty1

to then automatically start the x window gui session:

if [ -z "$DISPLAY" ] && [ $(tty) = /dev/tty1 ]; then startx fi

unnecessary!?!?

while true do startx -- sleep 10 done fi


  • « Centos vnc install
  • Linux authenticate against windows active directory ldap »

Published

Feb 6, 2010

Category

linux

~35 words

Tags

  • autologin 2
  • inittab 1
  • linux 249
  • mingetty 1
  • using 8