在CentOS中
开放端口
设置防火墙,在/etc/sysconfig/iptables文件中加入:(必须在-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited前面添加)
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 6000:6010 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT 重新启动iptables
# service iptables restart
编辑gdm/custom.conf文件
#vi /etc/gdm/custom.conf [security]
AllowRemoteRoot=true DisallowTCP=false [xdmcp] Enable=1
准备工作都ok了,可以启动gdm了 #gdm
打开xbrowser,在Address输入:ip地址(CentOS的IP地址)即可以
如果没输入Xmanager3.0的注册码会出现
“Failed to get the installation date from the system registry„„” 解决方法: 1.打开Xbrowser
2.打开Help, 选择About Browser 3.点击Enter Product Key 在product key后面输入下面key
Serial:100501-1131-000686
Serial:100501-1121-000966
Serial:100501-156941-0006
成功后将会重新运行Xmanager3.0即可以。