How to Connect to Linux with Windows Remote Desktop RDP

remote-desktop

You can connect to Linux machine from Windows using standard Windows Remote Desktop Connection (RDP)

Debian:

$ apt-get install xrdp
$ systemctl enable xrdp
$ systemctl start xrdp

 

CentOS:

$ yum install epel-release
$ yum install xrdp tigervnc-server tigervnc-server-module
$ chcon -t bin_t /usr/sbin/xrdp
$ chcon -t bin_t /usr/sbin/xrdp-sesman
$ systemctl enable xrdp
$ systemctl start xrdp

Do not forget open port 3389 on Linux, Remote Desktop requires TCP port 3389

arstech

Leave a Reply

Your email address will not be published. Required fields are marked *