查看是否有vnc安装包
[root@ www.linuxidc.com ~]# yum -y install vnc-server
[root@localhost system]# yum list |grep vnc
安装VNC
[root@localhost system]# yum install tigervnc-server #Redhat7版本的命令
这里要注意,我当时就是选错了结果报错,错误如下
Package(s) tigervnc-server available, but not installed.
另外,不同的Linux系统VNC的安装包包名是不一样的,比如centos里就是输入