网站首页 软件下载 游戏下载 翻译软件 电子书下载 电影下载 电视剧下载 教程攻略 音乐专区
霍普软件下载网-旗舰软件下载站,将绿色免费商业版破解软件、共享软件、游戏、电影、电视剧一网打尽!
| 文章 | 在CentOS上如何安装设置VNC |
| 分类 | 教程攻略 |
| 语言 | zh-CN |
| 大小 | |
| 版本 | |
| 下载 |
|
| 介绍 |
![]() 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 # need to set a VNC password; run ‘man vncpasswd’ to see how # to do that. # # DO NOT RUN THIS SERVICE if your local area network is # untrusted! For a secure way of using VNC, see this URL: # http://kbase.RedHat.com/faq/docs/DOC-7028 # Use “-nolisten tcp” to prevent X connections to your VNC server via TCP. # Use “-localhost” to prevent remote VNC clients connecting except when # doing so through a secure tunnel. See the “-via” option in the # `man vncviewer’ manual page. VNCSERVERS=”1:jackiebui” //Uncomment 2 last lines, and edit your VNC user VNCSERVERARGS[2]=”-geometry 800×600 -nolisten tcp -localhost” // Save and exit 启动VNC [root@ www.linuxidc.com ~]# vncserver [root@ www.linuxidc.com ~]# chkconfig vncserver on //设置为开机启动 上面就是CentOS6.3安装设置VNC的方法介绍了,在安装VNC前,需要先安装GNOME、KDE桌面环境,安装完VNC后需要对其进行相关配置。 |
| 截图 | |
| 随便看 |
|
免责声明
本网站所展示的内容均来源于互联网,本站自身不存储、不制作、不上传任何内容,仅对网络上已公开的信息进行整理与展示。
本站不对所转载内容的真实性、完整性和合法性负责,所有内容仅供学习与参考使用。
若您认为本站展示的内容可能存在侵权或违规情形,请您提供相关权属证明与联系方式,我们将在收到有效通知后第一时间予以删除或屏蔽。
本网站对因使用或依赖本站信息所造成的任何直接或间接损失概不承担责任。联系邮箱:101bt@pm.me