Windows 远程桌面连接 CentOS7 (xrdp)


Windows 远程桌面连接 CentOS7 (xrdp)

 

 前提: 
CentOS安装桌面,如果无桌面,请执行:

yum -y groups install "GNOME Desktop"
startx

 

 

方法:

配置源

yum install  epel* -y

 

安装xrdp

yum --enablerepo=epel -y install xrdp

 

 

启动xrdp并设置开机启动

systemctl start xrdp
systemctl enable xrdp

 

安装好了之后将防火墙关闭,或者开放3389端口

//开放3389端口
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
======================或者关闭防火墙
//临时关闭
systemctl stop firewalld
//禁止开机启动
systemctl disable firewalld

 

打开远程桌面

 

 

连接

 

 

 

 

 

 

 

连接完成!

 

 

 

参考:https://blog.csdn.net/sgrrmswtvt/article/details/81869208

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM