[Posts] CentOS7 mounting xrdp (windows remote desktop connection linux)

CentOS7 installation xrdp (windows remote desktop connection linux)

Premise: 
CentOS install the desktop, the desktop if no, execute:

yum -y groups install "GNOME Desktop"
startx

 



方法一

Configuration source

yum install  epel* -y

Installation xrdp

yum --enablerepo=epel -y install xrdp

 

方法二

1, the installation xrdp 
more their own system-digit select the corresponding package (if you choose to use a 32-bit i386, if it is 64, select x86_64), the method is to find a mirror site http: //mirrors.ustc. edu.cn/fedora/epel/7 enter the corresponding directory to find the beginning epel-release- RPM package)

http://mirrors.ustc.edu.cn/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
rpm -Uvh epel-release-7-11.noarch.rpm
yum install xrdp

 

2, installation tigervnc

yum install tigervnc tigervnc-server

 

3, configure SELinux, or it may not start xrdp service, or start error

chcon -t bin_t /usr/sbin/xrdp
chcon -t bin_t /usr/sbin/xrdp-sesman

 

 


下面的内容都是一样的


Xrdp start and set the boot

systemctl start xrdp
systemctl enable xrdp

 

After installing the firewall turned off, or open port 3389

// open port 3389 
Firewall-cmd = --permanent --zone public --add-Port = 3389 / tcp 
Firewall -cmd - reload
 =================== === or turn off the firewall
 // temporarily closed 
systemctl STOP firewalld
 // prohibit boot 
systemctl disable firewalld

 

 

Write pictures described here

Write pictures described here

Write pictures described here

Write pictures described here

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/11288050.html