windows远程桌面连接Linux系统

安装xfce

yum -y install epel-release && yum groupinstall Xfce

安装xrdp

yum install xrdp

启动xrdp

systemctl start xrdp && systemctl enable xrdp

配置权限

echo "xfce4-session" > ~/.Xclients
chmod +x .Xclients

配置防火墙

firewall-cmd --add-port=3389/tcp --permanent
firewall-cmd --reload

参考:xrdp实现Windows远程访问Ubuntu
https://learn.microsoft.com/zh-cn/azure/virtual-machines/linux/use-remote-desktop

https://www.cnblogs.com/xuliangxing/p/7560723.html

你可能感兴趣的:(linux,系统,linux,windows,运维)