3.配置Vino Server(RHEL的远程桌面)
[root@rhel6 ~]# vino-preferences #设置远程桌面

[root@rhel6 .vnc]# /etc/init.d/vncserver restart
Shutting down VNC server: 4:root [ OK ]
Starting VNC server: 4:root
New 'rhel6.xfcy.org:4 (root)' desktop is rhel6.xfcy.org:4
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/rhel6.xfcy.org:4.log
[ OK ]
重启VNC Server后将自动跳出如下(选择允许)

4.在rhel6中ssh到rhel5执行catchdesktop.sh脚本,将自动将桌面广播到RHEL5中
[root@rhel6 ~]# ssh rhel5 /usr/sbin/catchdesktop.sh #在rhel6上执行catchdesktop.sh(rhel5的桌面将同步呈现在rhel6上)

[root@rhel6 ~]# ssh rhel5 killall -15 X #释放rhel6的桌面
