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
Next revision Both sides next revision
automatic_login [2012/11/25 10:36]
85.218.109.130
automatic_login [2012/11/25 11:07]
85.218.109.130 [Ubuntu]
Line 5: Line 5:
 </​code>​ </​code>​
  
-Debian+====== ​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 24: Line 25:
 </​code>​ </​code>​
  
-Ubuntu+====== ​Ubuntu ​====== 
  
 edit a line in /​etc/​init/​tty1.conf to replace  ​ edit a line in /​etc/​init/​tty1.conf to replace  ​
Line 38: Line 40:
 </​code>​ </​code>​
  
-then edit the .profile file in your user's home directory, adding these lines +from: http://forum.xbmc.org/showthread.php?​tid=38473
- +
-<​code>​ +
-if [ -z "​$DISPLAY"​ ] && [ $(tty) = /dev/tty1 ] ; then +
-    startx ; +
-fi +
-</​code>​ +
- +
-finally, make sure that .xinitrc contains the line which will start your window manager. for example: +
- +
-<​code>​ +
-awesome +
-</​code>​ +
-more details here: http://www.shellperson.net/​autostart-x-without-gdm/+
automatic_login.txt · Last modified: 2012/11/25 11:09 by 85.218.109.130