安装图形界面
安装图形桌面的软件包
yum groupinstall "Server with GUI" -y

设置图形模式为默认模式启动。
systemctl set-default graphical
执行以下命令,重启实例,重启后VNC连接看到图形界面。
reboot
windows远程桌面
安装连接工具Xrdp和VNC
wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum install -y xrdp
yum install -y tigervnc-server
启动xrdp并设置开机启动
systemctl start xrdp
systemctl enable xrdp

Comments NOTHING