Microsoft’s Remote Desktop Protocol (RDP) has made Windows to Windows remote desktop connection a breeze as both the client and server are built into Windows operating systems.

Windows to Linux, or vice-versa, is slightly more complicated as you have to set up the Linux system as the client or server first. As our main goal is to access the Linux system remotely, we’ll primarily use RDP server implementations likexrdporFreeRDP.SSHis a viable option as well for CLI login.

We’ve detailed the necessary steps to set up Remote Desktop from Windows to Linux with these methods, and more, in the sections below.

gnome-remote-desktop-1024x576

First things first, you’ll need theIP Address of the Linux systemyou’re trying to access remotely. you may use theip addrcommand for this. Once you have the IP, you can use your preferred method to set up Remote Desktop on Linux, after which you should skip ahead toStep 2.

Ubuntu supports desktop sharing by default thanks to GNOME Remote Desktop, which can operate through VNC (LibVNCServer) or RDP (FreeRDP). Setting up remote desktop with this method is extremely simple:

Xrdp is an implementation of RDP that supports graphical remoting. Additionally, it also has some useful features liketwo-way clipboard transferand the ability to mount local drives on the client machine. Here’s how you may setup xrdp:

systemctl-status-xrdp-service-1024x496

If the xrdp daemon is loaded and active (running), you’re good. You should log out of your account and skip ahead toStep 2for steps for the Windows system.

But users often encounter various errors at this stage. In such cases, you’ll have to troubleshoot the issue and get xrdp running first.

The previous two methods used RDP and VNC for graphical login. But if you’re fine with just CLI access, SSH is a great option.Setting up SSHis very simple; just utilize the following commands to install, enable, and allow it through the firewall:

sudo-lsof-i-tcp

Before moving on, it’s also worth mentioning thatNoMachineis an excellent choice in terms of performance if you’re fine with non-open source options.

Connect From Windows Machine

Both setting up and using Remote Desktop on the Windows machine is very simple. Here are the necessary steps for the RDP methods:

If you’re using SSH, simply enterssh @in a command prompt window and enter the password to authenticate and connect.

xrdp-sesman-max-sessions-1024x496

How to Setup Remote Desktop from Linux to Windows?

Setting up a remote desktop connection from Linux to Windows is even simpler. Ubuntu ships with the Remmina remote desktop client, which supports both RDP and VNC protocols. you may also manually install it withsudo apt install remmina remmina-plugin-vnc.

system-properties-remote

remote-desktop-connection

ssh-remote-desktop-windows-to-linux

system-properties-workgroup