修改 /etc/gdm/custom.conf 启用root自动登录,亲测成功
末尾添加:
【daemon】
AutomaticLoginEnable=true
AutomaticLogin=root