linux远程桌面[vnc]

linux和linux远程桌面没有试过我把linux和windows之间的vnc配置过程写给你看吧
1.在linux下安装vnc
[root@www ~]#rpm -ivh vnc-4.1.2-14.el5
[root@www ~]#rpm -ivh vnc-server-4.1.2-14.el5
2.写入:
[root@www ~]#vncserver
出现:
New linux.com:1 (root) desktop is South.redflag-linux.com:1
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/South.redflag-linux.com:1.log
3.编辑文件:
[root@www ~]#vi /root/.vnc/xstsrtup
#unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
将上面两行的#号去掉,使其生效
twm & 改为gnome - session &
4.重启VNC
[root@www ~]#service vncserver restart
5.杀掉以前的连接号:(****此步骤相当重要*****)
[root@www ~]#vncserver -kill linux.com:连接号 (注:连接号第一个为1,第二个为2)
6启动vnc连接号:
[root@www ~]#vncserver
这样将会得到一个连接号1
7.在windows下安装安装vnc viewer
8.运行vnc viewer,输入ip+连接号
例如:192.168.2.98:1
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值