Jan 3, 2019

Remote access to CentOS 7 from Windows 10.................?



Step 1: Install and configure EPEL Repository as Xrdp is available in EPEL Repository
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
 

Step 2: Install xrdp. It takes some times depending upon your internet connection.
yum -y install xrdp tigervnc-server

 Step3: Once xrdp is installed, restart the xrdp service using the following command.
Sudo systemctl restart xrdp.service
 



Step 4: Confirm that xrdp is listening to 3389 port.
Netstat –antup | grep xrdp
                                                                                  

  

 
Step 5: Enable xrdp to start at startup.

Systemctl enable xrdp



Step 6: Configure Firewall to allow rdp connections from external machines. 

sudo firewall-cmd --zone=public --permanent --add-port=3389/tcp
 


Step 7: Configure SELinux:

chcon   --type=bin_t /usr/sbin/xrdp
 
chcon     --type=bin_t /usr/sbin/xrdp-sesman




Step 8: Now you can use remote desktop from windows and access the linux machine.


No comments:

Popular Posts