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