centOS5.5-64内置xvnc连接失败问题解决: 改端口5902

一。启动vnc服务:跟32位CentOs不同,需要手工改动(如下),并使用5902端口连接,成功:Step 1You need to modify /etc/sysconfig/vncserversHere you would put the desktop nu
摘要由CSDN通过智能技术生成

一。启动vnc服务:跟32位CentOs不同,需要手工改动(如下),并使用5902端口连接,成功:

Step 1
You need to modify /etc/sysconfig/vncservers
Here you would put the desktop number and name. The name is a user on
the system.

VNCSERVERS="2:someuser"

不要uncomment下边那行:vncserverARGS

Step 2 run chkconfig and make sure vncserver is enabled and on the
levels you wanted it to run on.

Step 3

As root

su - someuser

Run vncpasswd and generate a vnc password

Step 4
Start vnc
service vncserver start

来自: http://linux.derkeiler.com/Mailing-Lists/RedHat/2005-03/0545.html

过程:上述4步后、vnc启动成功;但还是连不上,提示failed to connect..开始以为看 /var/log/messages可以搞定,但完全没用,其他log目录下的内容也看了,一样没用;再后来:ps -ef|grep v

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值