Software >> OS >> Unix >> Linux >> How to enable root to login to the desktop with Gnome Desktop Manager (GDM)

# cd /etc/pam.d

# vi gdm

comment out the following line by prefixing with #

#auth    required    pam_succeed_if.so user != root quiet