vnc简介
VNC ( Virtual Network Computing,虚拟网络计算)是一款优秀的远程控制工具软件,它是基于UNIX和Linux操作系统的免费的开放源码软件。其远程控制能力强大,高效实用,性能可以和Windows和MAC中的任何远程控制软件相媲美。
配置机器linux centos6 xshell 安装并配置vnc
1、安装vnc,挂载镜像并检查改虚拟机是否安装了vnc。
[root@XU ~]# mount /dev/sr0 /mnt/xurom //挂载镜像到指定目录
mount: block device /dev/sr0 is write-protected, mounting read-only //显示成功
[root@XU ~]# rpm -q tigervnc
package tigervnc is not installed
[root@XU ~]# yum install tigervnc tigervnc-server
2、我们为vncserver设置密码,必不可缺。
[root@XU ~]# vncserver //server端设置密码
You will require a password to access your desktops.
Password:
Verify:
xauth: (stdin):1: bad display name "XU:1" in "add" command
New 'XU:1 (root)' desktop is XU:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/XU:1.log
[root@XU ~]#