From LedHed's Wiki
Steps
gdm3 daemon.conf
Edit: /etc/gdm3/daemon.conf In the [security] section add the following:
AllowRoot = true
pam.d/gdm-password
Edit: /etc/pam.d/gdm-password Comment out the following line:
#auth required pam_succeed_if.so user != root quiet_success
Reference
https://economictheoryblog.com/2015/11/08/how-to-enable-gui-root-login-in-debian-8/