解决办法:
1.vi /etc/hosts192.168.0.102 grid :加上主机名和ip
2.更改
/etc/gdm
[root@localhost gdm]# vi custom.conf
[security]
DisallowTCP=true
AllowRemoteRoot=true
[xdmcp]
Enable=true
Port=177
[debug]
Enable=true
gdm restart;
gdm stop;
/var/log/gdm:gdm的日志文件
重新调用即可