leekwen@ubuntu:~$ cat /etc/issue
Ubuntu 12.04.4 LTS \n \l
leekwen@ubuntu:~$ file /bin/ls |grep bit
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x83531f308f1fa18221be53eaf399303400c14638, stripped
leekwen@ubuntu:~$ sudo cp /etc/lightdm/lightdm.conf /etc/lightdm/lightdm.conf.bak
leekwen@ubuntu:~$ sudo vi /etc/lightdm/lightdm.conf
[sudo] password for leekwen:
leekwen@ubuntu:~$ cat /etc/lightdm/lightdm.conf
[SeatDefaults]
user-session=ubuntu
greeter-session=unity-greeter
greeter-show-manual-login=true
allow-guest=false
# add those line
autologin-user=root ## set autologin username
autologin-user-timeout=0
autologin-session=lightdm-autologin
# add end by leekwen
### 自动启动应用程序 如firefox浏览器 ###