cd /etc/gdm/custom.conf
-----------------------------------------
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true