VNC 远程连接vmware下centOS7
1.如果没有安装X-Windows 桌面的话要先安装Xwindows [root@localhost ~]# yum check-update [root@localhost ~]# yum groupinstall "X Window System" [root@localhost ~]# yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts [root@localhost ~]# unlink /etc/systemd/system/default.target [root@localhost ~]# ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target [root@localhost ~]# reboot 2.查看是否已安装vnc: 3.yum安装安装VNC组件 4.修改配置信息。 在/etc/systemd/system/下建立文件vncserver.service , 文件内容从/lib/systemd/system/vncserver@.service复制 找到这一行 ExecStart=/sbin