| 
 | 
/etc/lxdm/lxdm.conf里面配置autologin。如下: 
 
 
## uncomment and set autologin username to enable autologin 
autologin=toybrick 
 
## uncomment and set timeout to enable timeout autologin, 
## the value should >=5 
timeout=0 
 
## default session or desktop used when no systemwide config 
# session=/usr/bin/startlxde 
 
## uncomment and set to set numlock on your keyboard 
# numlock=0 
 
## set this if you don't want to put xauth file at ~/.Xauthority 
# xauth_path=/tmp 
 
# not ask password for users who have empty password 
# skip_password=1 
 |   
 
 
 
 |