System: Ubuntu10.04
Operation Steps:
1.su into the root account, and then vim/etc/gdm/custom.conf etc/gdm/directory and no custom.conf file, directly create this file
2. Copy the following:
[Daemon]
Timedloginenable=true
Automaticloginenable=true
Timedlogin=root
Automaticlogin=root
Timedlogindelay=30
3. Restart the system:
Go directly to the root account.
System: Ubuntu14.04
Operation Steps:
1.su Enter the root account, and then vim/usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf, if the directory does not have 50-ubuntu.conf F file, create this file directly
2. Copy the following:
[Seatdefaults]
User-session=ubuntu
Autologin-user=root
Greeter-session=unity-greete
Greeter-show-manual-login=true
Allow-guest=false
3. Restart the system:
Go directly to the root account.
System: Ubuntu12.04
Operation Steps:
1.su into the root account,
2. vim/etc/lightdm/lightdm.conf. Modifying a configuration file
[Seatdefaults]
Allow-guest=false
Autologin-user=root
Autologin-user-timeout=0
Autologin-session=lightdm-autologin
User-session=ubuntu
Greeter-session=unity-greeter
3. Restart the system:
Go directly to the root account.