xrdp远程

安装图形界面

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,打开自带远程工具

猜你喜欢

转载自www.cnblogs.com/yunweiweb/p/10847374.html