Use root to log on directly to CentOS
In the latest Linux release, you are not allowed to log on to the graphical user desktop with the root account. Therefore, after logging on to the graphical user desktop, if you want to run commands with the Administrator permission, you can run the su root command on the terminal, temporarily obtain the root permission;
If/must log on to the GUI as root, you can modify/etc/pam. d/TPD and/etc/pam. d/TPD-passwd: Add "#" to the following line. After saving the disk, you can use the root account
# Auth required pam_succeed_if.so user! = Root quiet
The GNOME Display Manager is The Manager of The GNOME Display environment and used to replace The original X Display Manager. Unlike competitors (X3DM, KDM, and WDM), The GUID management system completely overwrites the code and does not contain any XDM code. Running and managing local and remote logon X servers (through XDMCP ). The running of the second executable file is a script. A running process. The running of the Operating. However, if you cancel all the tasks, the system restarts the system. Gdmsetup is a graphical interface tool that can easily modify most common options.
PS: AboutUbuntu and Fedora use roo usersAutomatically log on to the system and install Ubuntu in the Virtual Machine. Enter the account and password each time you start the system. To save trouble, let the root automatically log on to the system as follows:
1. Change a password for the root account;
Enter the "sudo passwd root" command in the terminal. Then, the hacker will prompt you to enter the current account password. after entering the correct password, enter the password you want to grant the root account twice.
2. Set automatic logon for the root account;
(1) check whether the custom. conf file exists in the/etc/TPD/directory. If so, go directly to the next step,
(2) If it does not exist, open "System-> à adminià à-> Login Screen" (System-> System Management-> logon window) and click "Unlock, modify a setting of Login Screen Settings, such as Enable or Disable "Log in as automatically", close the window, and check custom in the/etc/TPD/directory. the conf file should exist.
3. Edit the/etc/TPD/custom. conf file and modify the AutomaticLoginEnable, AutomaticLogin, and TimedLogin files as follows:
[Daemon]
AutomaticLoginEnable = true this is changed to true
Set AutomaticLogin = root to root.
TimedLoginEnable = false
TimedLogin = root.
TimedLoginDelay = 10
DefaultSession = gnome
Fedora logs on as root:
1 vi/etc/pam. d/TPD
Set auth required ...... Comment out the line of root quiet
2 vi/etc/pam. d/TPD-passwd
Same as above
3 vi/etc/TPD/custom. conf
Add the following at the end:
[Daemon]
AutomaticLoginEnable = true
AutomaticLogin = root