Vncserver

出自Centos

跳转到: 导航, 搜索

[编辑] 安装和配置


[root@localhost ~]# vi /etc/sysconfig/vncservers
//在/etc/sysconfig/vncservers文件未添加如下代码
VNCSERVERS="1:root"
VNCSERVERARGS[1]="-geometry 1024x768"

[root@localhost ~]# vncpasswd
Password:
Verify:
[root@localhost ~]# service vncserver start
启动 VNC 服务器:1:root xauth:  creating new authority file /root/.Xauthority

New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1

Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

                                                           [确定]
[root@localhost ~]#
<pre>

[root@localhost .vnc]# vim xstartup
[root@localhost .vnc]# service vncserver restart
关闭 VNC 服务器:1:root                                    [确定]
启动 VNC 服务器:1:root
New 'localhost.localdomain:1 (root)' desktop is localhost.localdomain:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost.localdomain:1.log

                                                           [确定]
[root@localhost .vnc]#

[编辑] 客户端下载

官方网站是:http://www.realvnc.com 下载地址:http://www.realvnc.com/cgi-bin/download.cgi

[编辑] 参考资料

在Centos5下安装配置VNC的方法详细介绍:

http://linux.e800.com.cn/articles/2008/128/1201489038304_1.html

http://www.php-oa.com/2007/10/17/rhel5-vnc.html

http://zzgod.spaces.live.com/blog/cns!876E0B5D932466AF!281.entry

个人工具