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.进入 etc/init/prefdm.conf将24行注释掉新增一行
3.启动,按照图片数据编辑
4.登录成功
以下是xshell使用的详细教程链接:http://www.server110.com/linux/201308/830.html