Software >> OS >> Unix >> Linux >> Red Hat Enterprise Linux >> How to enable GUI login for root

backup existing /etc/pam.d/gdm

# cd /etc/pam.d
# cp -p gdm gdm.bak
# vim gdm

comment out the following line

 

auth required pam_succeed_if.so user != root quiet

save, exit, logout and re-login as root