1. 程式人生 > >遠端桌面連線CentOS7

遠端桌面連線CentOS7

//安裝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