Win7VNC客户端连接RedHatLinuxAS5.8的配置图文教程
1、配置安装VNC
[root@guodb2 Disk1]# yum install vnc*
4、登录报错如下
5、查VNC端口
tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 9748/Xvnc
6、从上面可以看出0号端号被占用了,用1号端号登录
7、正常登录VNC,但图形界面显示如下
8、修改VNC配置文件,注释原来的两行,添加最后两行
vc3lzY29uZmlnL3ZuY3NlcnZlcnM8YnIgLyZndDsjIFZOQ1NFUlZFUlM9JnF1b3Q7MjpteXVzZXJuYW1lJnF
1b3Q7PGJyIC8mZ3Q7IyBWTkNTRVJWRVJBUkdTWzJdPSZxdW90Oy1nZW9tZXRyeSA4MDB4NjAwIC1ub2xpc3Rlbi
B0Y3AgLW5vaHR0cGQgLWxvY2FsaG9zdCZxdW90OzxiciAvJmd0OyBWTkNTRVJWRVJTPSZxdW90OzE6cm9vd
CZxdW90OzxiciAvJmd0OyBWTkNTRVJWRVJBUkdTWzFdPSZxdW90Oy1nZW9tZXRyeSAxNDAweDc1MCAtbm9sa
XN0ZW4gdGNwICZxdW90OzxiciAvJmd0OzxiciAvJmd0OzxiciAvJmd0OzmhotDeuMTNvNDOvefD5izIq7K/16LKzbX0o
6zM7bzT1+6689K70NA8YnIgLyZndDtbcm9vdEBndW9kYjEgeXVtLnJlcG9zLmRdIyB2aSAvcm9vdC8udm5jL3hzdGFy
dHVwPGJyIC8mZ3Q7IyEvYmluL3NoPGJyIC8mZ3Q7PGJyIC8mZ3Q7PGJyIC8mZ3Q7IyBVbmNvbW1lbnQgdGhlIGZvbG
xvd2luZyB0d28gbGluZXMgZm9yIG5vcm1hbCBkZXNrdG9wOjxiciAvJmd0OyMgdW5zZXQgU0VTU0lPTl9NQU5BR0VSPG
JyIC8mZ3Q7IyBleGVjIC9ldGMvWDExL3hpbml0L3hpbml0cmM8YnIgLyZndDs8YnIgLyZndDs8YnIgLyZndDsjWyAteCAvZXR
jL3ZuYy94c3RhcnR1cCBdICZhbXA7JmFtcDs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