CentOS8安装GUI并使用Windows的RDP远程连接桌面

1、安装Server with GUI (参考https://blog.csdn.net/weixin_45901519/article/details/116280224或者https://blog.csdn.net/zzzjjjfff/article/details/105203359)

yum groupinstall -y 'Server with GUI'
systemctl set-default graphical

2、RDP部分(参考https://www.cnblogs.com/lenmom/p/9516210.html)

yum install -y epel-release
yum install -y xrdp tigervnc-server

systemctl start xrdp
systemctl enable xrdp

reboot

重启后就可以使用Windows的mstsc进行rpd连接了

如果无法访问,可能是防火墙的问题,可以将其关闭

systemctl stop firewalld
systemctl disable firewalld

原文链接:
https://blog.csdn.net/phrnet/article/details/108282587

Related Posts