正在加载...
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]

Centos 6.2 开启 VNC

[ 2012/03/28 18:48 | by selboo ]
一、查看是否安装 VNC

好像 6.0 以后VNC名字 由 vnc 改成  tigervnc

[root@xen ~]# rpm -qa|grep tigervnc
tigervnc-1.0.90-0.17.20110314svn4359.el6.x86_64
tigervnc-server-1.0.90-0.17.20110314svn4359.el6.x86_64

如果没有就安装下了

[root@xen ~]# yum install tigervnc tigervnc-server

添加启动项

[root@xen ~]# chkconfig --add vncserver
[root@xen ~]# chkconfig vncserver on

二、设置 VNC 密码

[root@xen ~]# vncserver
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/xen:1.log

会在当前用户主目录下 生成 .vnc  目录和配置文件

[root@xen ~]# vncpasswd
Password:
分页: 1/1 第一页 1 最后页 [ 显示模式: 摘要 | 列表 ]