How to Remote Desktop from Windows to Linux

How to Remote Desktop from Windows to Linux

remote-desktop

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

First we need  xrdp package on Linux server.

xrdp provides a graphical login to remote machines using RDP (Microsoft Remote Desktop Protocol). xrdp accepts connections from variety of RDP clients: FreeRDP, rdesktop, NeutrinoRDP and Microsoft Remote Desktop Client.

Below you see examples for RedHat/CentOS hand Debian/Ubuntu how to install xrdp and enable as service:

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

Now your Linux server ready for accept inbound RDP connections.


arstech

Leave a Reply