w8系统下载官网 - 最好的电脑系统下载站!
当前位置:主页 > W8系统教程 > 在CentOS上如何安装设置VNC

在CentOS上如何安装设置VNC

更新日期:2015-03-27 00:08      作者:w8系统下载      来源:w8xitong.com

  VNC是一款远程控制工具,免费的开源软件,通过VNC能够实现强大的远程控制,且是Linux有图形化的操作界面,下面小编就以CentOS 6.3为例,给大家介绍下VNC在CentOS 6.3下的安装和配置。

  1,安装GNOME桌面环境

  [root@ www.linuxidc.com ~]# yum -y groupinstall “GNOME Desktop Environment”

  2, 安装KDE桌面环境

  [root@ www.linuxidc.com ~]# yum groupinstall “X Window System” “KDE (K Desktop Environment)”

  3,安装VNC服务器

  [root@ www.linuxidc.com ~]# yum -y install vnc-server

  Loaded plugins: fastestmirror, refresh-packagekit, security

  Loading mirror speeds from cached hostfile

  * base: mirror-fpt-telecom.fpt.net

  * extras: mirror-fpt-telecom.fpt.net

  * updates: mirror-fpt-telecom.fpt.net

  Setting up Install Process

  Resolving Dependencies

  –》 Running transaction check

  —》 Package tigervnc-server.i686 0:1.0.90-0.17.20110314svn4359.el6 will be installed

  –》 Finished Dependency Resolution

  Dependencies Resolved

  ================================================== ==============================

  Package Arch Version Repository

  Size

  ================================================== ==============================

  Installing:

  tigervnc-server i686 1.0.90-0.17.20110314svn4359.el6 base 1.1 M

  Transaction Summary

  ================================================== ==============================

  Install 1 Package(s)

  Total download size: 1.1 M

  Installed size: 2.9 M

  Downloading Packages:

  tigervnc-server-1.0.90-0.17.20110314svn4359.el6.i686.rpm | 1.1 MB 00:02

  warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY

  Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

  Importing GPG key 0xC105B9DE:

  Userid : CentOS-6 Key (CentOS 6 Official Signing Key)

  Installed:

  tigervnc-server.i686 0:1.0.90-0.17.20110314svn4359.el6

  Complete!

  [root@ www.linuxidc.com ~]#

  4,配置VNC

  [root@ www.linuxidc.com ~]# su -jackiebui

  [jackiebui@tanvps ~]# vncpasswd

  Password:******

  verify:******

  [jackiebui@tanvps ~]# ls .vnc/

  5,编辑VNC配置文件

  [root@ www.linuxidc.com ~]# vi /etc/sysconfig/vncservers

  # The VNCSERVERS variable is a list of display:user pairs.

  #

  # Uncomment the lines below to start a VNC server on display :2

  # as my ‘myusername’ (adjust this to your own)。 You will also

系统排行榜