/usr/share/gdm/defaults.conf中uncomment:
Enable=true
DisplaysPerHost=10
Port=177
[security]
AllowRoot=true
AllowRemoteRoot=true
AllowRemoteAutoLogin=true
最后的x:5:respawn:/etc/X11/prefdm -nodaemon改为 x:5:respawn:/usr/sbin/gdm
reboot
/usr/share/gdm/defaults.conf中uncomment:
Enable=true
DisplaysPerHost=10
Port=177
[security]
AllowRoot=true
AllowRemoteRoot=true
AllowRemoteAutoLogin=true
最后的x:5:respawn:/etc/X11/prefdm -nodaemon改为 x:5:respawn:/usr/sbin/gdm
reboot