Windows to Linux remote connection

1. Download and install noarch file from https://dl.fedoraproject.org/pub/epel/7/x86_64/e/
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
2. Install xrdp
sudo yum -y install xrdp tigervnc-server
systemctl start xrdp.service

3. Check the xrdp service port
netstat -antup | grep xrdp
4. Add firewall exception
firewall-cmd --permanent --zone=public --add-port=3389/tcp
firewall-cmd --reload
5. Adding to startup
systemctl enable xrdp.service
6. Config SELinux
chcon --type=bin_t /usr/sbin/xrdp
chcon --type=bin_t /usr/sbin/xrdp-sesman
Previous
Next Post »