User Tools

Site Tools


automatic_login

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
automatic_login [2012/10/07 19:40]
85.218.109.130
automatic_login [2012/11/25 11:08]
85.218.109.130 [Debian]
Line 4: Line 4:
 apt-get install mingetty apt-get install mingetty
 </​code>​ </​code>​
 +
 +====== Debian ======
 +
  
 edit a line in /​etc/​inittab (good to make a backup copy before!) ​ for a particular tty that you want to autologin to edit a line in /​etc/​inittab (good to make a backup copy before!) ​ for a particular tty that you want to autologin to
Line 21: Line 24:
 1:​2345:​respawn:/​sbin/​getty --autologin [user] --noclear ​ tty1  1:​2345:​respawn:/​sbin/​getty --autologin [user] --noclear ​ tty1 
 </​code>​ </​code>​
 +
 +
  
 then edit the .profile file in your user's home directory, adding these lines then edit the .profile file in your user's home directory, adding these lines
Line 36: Line 41:
 </​code>​ </​code>​
 more details here: http://​www.shellperson.net/​autostart-x-without-gdm/​ more details here: http://​www.shellperson.net/​autostart-x-without-gdm/​
 +
 +====== Ubuntu ======
 +
 +
 +edit a line in /​etc/​init/​tty1.conf to replace  ​
 +
 +<​code>​
 +exec /sbin/getty -8 38400 tty1
 +</​code>​
 +
 +with 
 +
 +<​code>​
 +exec /​sbin/​mingetty --autologin [user] tty1
 +</​code>​
 +
 +from: http://​forum.xbmc.org/​showthread.php?​tid=38473
automatic_login.txt ยท Last modified: 2012/11/25 11:09 by 85.218.109.130