1.编辑gnome配置文件vim /etc/gdm/custom.conf
# GDM configuration storage [daemon]RemoteGreeter= /usr/libexec/gdm-simple-greeter [security] AllowRemoteRoot=true [xdmcp] Enable=1 Port=177 DisplaysPerHost=5 [greeter] [chooser] [debug]
2. vim /etc/init/prefdm.conf,注释掉标记的地方
3.启动
验证