简洁大气的网站模板,网站建设类公司,商丘网站制作案例,安徽哪家公司做网站比较好Centos7安装图形界面并使用Win10远程桌面连接 一、关闭防火墙和selinux二、安装Server with GUI三、设置系统默认启动进入GUI界面四、安装epel库和xrdp五、启动xrdp并设置成开机自启六、win10电脑打开连接 一、关闭防火墙和selinux
#临时关闭防火墙
[rootse1215 ~]# systemctl… Centos7安装图形界面并使用Win10远程桌面连接 一、关闭防火墙和selinux二、安装Server with GUI三、设置系统默认启动进入GUI界面四、安装epel库和xrdp五、启动xrdp并设置成开机自启六、win10电脑打开连接 一、关闭防火墙和selinux
#临时关闭防火墙
[rootse1215 ~]# systemctl stop firewalld
#永久关闭防火墙
[rootse1215 ~]# systemctl disable firewalld.service #临时关闭selinux
[rootse1215~]# setenforce 0
#永久关闭selinux
[rootse1215~]# sed -i s/enforcing/disabled/g /etc/selinux/config
二、安装Server with GUI
输入下面命令后耐心等待等待时间可能有的长
[rootse1215 ~]# yum groupinstall Server with GUI -y
三、设置系统默认启动进入GUI界面
通过以下命令启用GUI作为默认值设置系统启动进入桌面图形模式
[rootse1215 ~]# yum groupinstall Server with GUI -y
四、安装epel库和xrdp
[rootse1215 ~]# yum install -y epel-release xrdp
注意因为Xrdp最终会自动启用VNC所以必须安装tigervnc-server否则xrdp无法使用
[rootse1215 ~]# yum install -y tigervnc-server
五、启动xrdp并设置成开机自启
# 启动xrdp
[rootse1215 ~]# systemctl start xrdp
# 设置为开机自启
[rootse1215 ~]# ystemctl enable xrdp
# 查看xrdp程序、端口是否启动
[rootse1215 ~]# systemctl status xrdp显示 activerunning表示已经启动 查看3389端口是否启动
[rootse1215 ~]# netstat -antpl | grep 3389六、win10电脑打开连接
按键win R 输入mstsc 输入ip地址连接即可