Just installed fedora 12 and logged on to the GUI as the root user. The error "Fault Identification" is returned ". Checked: by default, the root logon GUI is not allowed.
Solution:
(1) Log On As a common user.
(2) # Su
Switch to root.
(3) # vi/etc/PAM. d/TPD
Add "#" in front of the following line and comment it out:
Auth required pam_succeed_if.souser! = Root quiet
(4) # vi/etc/PAM. d/TPD-passwaord
Add "#" in front of the following line and comment it out:
Auth required pam_succeed_if.souser! = Root quiet
It is verified that sudo VI/etc/PAM is used. you cannot edit these two files in D/TPD, because the user added during installation is no longer in the sudo list by default. You must switch to root through Su to edit these two files.
In fact, the single user mode is entered at startup. The default mode is the root user. You can directly edit these two files. However, this method is a bit of a hack, and we still use the general method on the whole point.
(5) # reboot
Then you can log on with the root user.
------------------------------------------------
Update 2012-05-22:
Recently switched to Debian, the situation is similar, and the solution is similar:
Http://www.cnblogs.com/floatedclouds/archive/2011/09/29/2195356.html
By default, Debian does not allow root logon.
(1) Allow Debian to log on as root
Modify the logon pam file of gdm3
# Vi/etc/pam. d/gdm3
Set auth required pam_succeed_if.so user! = Root quiet_success comment out // Add this row before #
Restart
(2) Enable Debian to log on automatically as the root user.
First, modify the configuration file of gdm3.
# Vi/etc/gdm3/deamon. conf
AutomaticLogin = false // change to true
AutomaticLogin = root // automatically log on as the root user
If you want to wait a few seconds to log on again, use the following
TimedLoginEnable = true
TimedLogin = root
TimedLoginDelay = 5 // login with a latency of 5 seconds, which can be modified
Finally, gdm3 automatically logs on to the pam file.
# Vi/etc/pam. d/gdm3-autologin
Set auth required pam_succeed_if.so user! = Root quiet_success comment out. // Add # in front of the bank to cancel the restriction that Debian will not allow root login.
Restart.