手机版
你好,游客 登录 注册
背景:
阅读新闻

VNC Server+Vino-Server 实现远程桌面同步

[日期:2013-03-25] 来源:Linux社区  作者:missedyou [字体:大 中 小]

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的桌面

linux
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款