图形界面安装
1. yum -y update
2.yum groupinstall "X Window System" //注意有引号
3.yum groupinstall "GNOME Desktop" "Graphical Administration Tools"
4.systemctl set-default graphical.target //(图形界面模式)
5.reboot //(重启系统)
VNC搭建
1. yum install epel-release
2. yum install xrdp
3. yum install tigervnc-server
4. vncpasswd root //好像没什么用
5. systemctl stop firewalld.service //关闭防火墙
6. systemctl disable firewalld.servie
7. vim /etc/selinux/config //关闭SElinux, SELINUX=disabled
8. systemctl start xrdp //启动xrdp
9. systemctl enable xrdp //设置自动启动
客户端可以使用Windows自带的MSTC连接, 也可以使用MobaXterm
如果进入桌面后打不开设置,运行这个命令yum reinstall libwbclient
网友评论