skubuntu.com/questions/967789/any-idea-on-how-to-enable-root-login-through-gui-on-17-10
vi /etc/gdm3/custom.conf
[security]
AllowRoot=true
vi /etc/pam.d/gdm-password
### auth required pam_succeed_if.so user != root quiet_success
The deskstop needs to be stopped and restarted it is really easier to : reboot.
CENTOS|RHEL|OEL
vi /etc/gdm/custom.conf
[security]
AllowRoot=true