安装图形界面

yum groupinstall "GNOME Desktop"

安装epel源

yum install epel*

安装xrdp

yum --enablerepo=epel install xrdp -y

启动xrdp,设置为开机自启动

systemctl start xrdp #启动
systemctl enable xrdp 自启

切换运行模式

systemctl set-default graphical.target #修改运行模式
init 5 #切换当前运行模式
cp /lib/systemd/system/graphical.target /etc/systemd/system/default.target #开机自启

放行端口

firewall-cmd --zone=public --add-port=3389/tcp --permanent #放行3389
firewall-cmd --reload #重启防火墙

最后windows系统win+R执行mstsc,打开自带远程工具

相关文章:

  • 2021-12-21
  • 2021-12-06
  • 2022-12-23
  • 2021-09-26
  • 2021-11-20
  • 2022-02-08
  • 2022-12-23
  • 2021-11-20
猜你喜欢
  • 2021-11-19
  • 2022-12-23
  • 2021-06-18
  • 2021-08-03
  • 2022-12-23
  • 2021-11-20
  • 2021-06-07
相关资源
相似解决方案