Ubuntu 12.04Not allowed by defaultRootLogin, only common users and visitors can be seen in the login window. After logging on to Ubuntu as a normal user, we need to make some modifications. After logging on to a common user, we need to switch to the Super User Mode to modify the system configuration file. In the terminal window, enter: Sudo-s. enter the login password of a common user and press enter to enter the root user permission mode.
Run VI/etc/lightdm. conf.
Add Greeter-show-manual-login = true allow-Guest = false. The entire modified configuration file is
[Seatdefaults]
Greeter-session = unity-greeter
User-session = Ubuntu
Greeter-show-manual-login = true # manually enter the user name and password for logging on to the system
Allow-Guest = false #Not AllowedGuestLogin
Then we start RootAccount:
Sudo passwd Root
Enter the password of the roott account as prompted.
RestartUbuntuIn the logon window"Login"In this case, we can useRootLog on.