Ubuntu 12.04 default is not allow root login, in the login window can only see normal users and guest login. After landing in the normal status of Ubuntu we need to make some changes, the normal user login, modify the system configuration file needs to switch to Super User mode, in the terminal window input: sudo-s. Then enter the password of the normal user login, enter the root user rights mode.
After execution: vi/etc/lightdm/lightdm.conf.
Greeter-show-manual-login=true allow-guest= False . the entire configuration file that is modified is
[seatdefaults]
Greeter-session=unity-greeter
user-session= ubuntu
greeter-show-manual-login=true #手工输入登陆系统的用户名和密码
allow-guest=false #guest login
Then we start account number:
Sudo passwd root
Enter the root account password as prompted.
Restart Ubuntu, login window will have " login " option, this time we can log in by root.
Autologin-user=root #自动以root登录
Autologin-user-timeout=0
Autologin-session=lightdm-autologin
After adding, save, restart the system is OK, directly to the root user login
ubuntu12.04 Modify login user as Root