Xmanager远程桌面

在服务器端(RHEL6)
[root@localhost ~]# more /etc/gdm/custom.conf 
# GDM configuration storage

[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true
[greeter]

[chooser]

[debug]

若michael用户要远程连接,则
[michael@localhost ~]$ export DISPLAY=192.168.0.100:0.0
[michael@localhost ~]$ 
192.168.0.100是客户端IP

IPtables
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT

telinit 5

OEL 4.8
vi /etc/X11/gdm/gdm.conf 

找到[xdmcp]这一节,在这一节中修改
Enable=true
把下面这两行前的注释符号#删去,使之生效
#DisplaysPerHost=2
#Port=177

防火墙
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT


打开Xbrowser,输入远程IP,进入远程桌面。
请使用浏览器的分享功能分享到微信等