centos安装xrdp(windows下通过远程桌面访问linux)

1.安装xrdp包
yum install xrdp
2.开放远程端口3389
firewall-cmd --zone=public --add-port=3389/tcp --permanent
firewall-cmd --reload
3.启动xrdp
systemctl start xrdp
4.设置xrdp开机自启
systemctl enable xrdp
5.查看xrdp状态
systemctl status xrdp
6.用windows自带远程桌面连接即可

你可能感兴趣的:(Linux环境搭建,linux,centos,服务器,xrdp,远程)