# cd /etc/pam.d
# vi gdm
comment out the following line by prefixing with #
#auth required pam_succeed_if.so user != root quiet