Centos7安装vnc

安装VNC
在图形化虚拟机安装
[[email protected] /]# yum -y install tigervnc tigervnc-server
设置VNCSERVER
[[email protected] /]# vncserver :1
You will require a password to access your desktops.
Password:
Verify:
New ‘localhost:1 (zx)’ desktop is localhost:1
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/localhost:1.log
[[email protected] ~]# vim /etc/sysconfig/vncservers
配置VNC
[[email protected] ~]# vim /etc/sysconfig/vncservers
添加以下
Centos7安装vnc
在远程Windows机器安装VNC Viewer并打开
Centos7安装vnc
Centos7安装vnc
Centos7安装vnc