远程桌面连接CentOS7

https://www.bnxb.com/linuxserver/27459.html
https://blog.csdn.net/txz317/article/details/51734222

//安装CentOS桌面
yum upgrade
yum -y groupinstall "X Window System" 
yum -y groupinstall "GNOME Desktop"
startx

//安装xrdp
yum install epel* -y
yum --enablerepo=epel -y install xrdp

//添加防火墙
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload

//启动服务
systemctl start xrdp
systemctl enable xrdp
netstat -tnlp | grep xrdp



猜你喜欢

转载自blog.csdn.net/chenzhuyu/article/details/82955602