Linux Remote Desktop Options: xrdp, VNC, X2Go, NoMachine and More
Seven ways to reach a Linux desktop from another computer, compared: xrdp, VNC, X2Go, NoMachine, the built-in GNOME and KDE servers, and RustDesk.
3 min readBy Daniel
Reviewed by the AmazingRDP technical team

A Linux server you can add a desktop to. A Linux VPS gives you root access. See Linux VPS from $6.99
Linux servers are normally run from a command line over SSH, and for most server work that is the better tool. Sometimes, though, you want the graphical desktop: for a program that has no command-line version, for a development machine, or simply to work the way you are used to. Linux offers several ways to send a desktop over the network. They differ in speed, in how much setting up they need, and in which program you use on the other end.
First: does the server have a desktop?
A server installation has none. Before any of the methods below can show something, a desktop must be installed. Choose a light one on a small server: see installing a desktop on Ubuntu Server and Xfce vs GNOME. A desktop wants at least 2 GB of memory to be comfortable.
The options
| Method | You connect with | Strengths | Weaknesses |
|---|---|---|---|
| xrdp | The Remote Desktop client built into Windows; any RDP client | Nothing to install on Windows; good speed; clipboard and sound | Works best with light desktops; one session per user |
| VNC (TigerVNC and others) | A VNC viewer | Simple, works with every desktop | Slower; no encryption by itself, so use it through an SSH tunnel |
| X2Go | The X2Go client | Fast even on slow lines; runs over SSH, so it is encrypted and needs no extra port | Needs its own client; does not suit GNOME or other desktops that require 3D effects |
| NoMachine | The NoMachine client | Very smooth, good with video and sound | Not open source; free for personal use with limits |
| GNOME Remote Desktop | Any RDP client | Built into GNOME; switch it on in Settings | GNOME only; remote login without someone at the screen needs a recent version |
| KDE's krdp | Any RDP client | Built into Plasma | Plasma only; newer and still maturing: see Wayland vs X11 in Plasma |
| RustDesk | The RustDesk client | Open source; connects through routers without port forwarding; you can host the relay yourself | Made for reaching desktops with a screen; less at home on servers |
Which one?
| Situation | Choose |
|---|---|
| You sit at Windows and want the least fuss | xrdp: see connecting to an Ubuntu server through RDP |
| A slow or distant line | X2Go or NoMachine |
| You only need to see the existing screen of a machine | VNC: see a VNC server on CentOS |
| Helping a relative with their Linux PC | RustDesk |
| A GNOME or Plasma desktop PC | The built-in server of that desktop |
| One graphical program, not a whole desktop | SSH with X forwarding: ssh -X user@server program |
Two kinds of session
- A new virtual desktop is created for you when you connect, and exists only on the network. xrdp, X2Go and the VNC server programs work this way. This is what a server without a monitor needs.
- Screen sharing shows the desktop that is on the machine's real screen. The built-in GNOME and KDE servers, RustDesk and tools like x11vnc do this. It is for helping someone or reaching your own desktop PC.
Security, whichever you choose
- Do not open a remote desktop port to the whole internet. Port 3389 (RDP) and 5900 and up (VNC) are scanned constantly.
- Limit the port to your own addresses in the firewall: see the Ubuntu firewall guide.
- Or tunnel through SSH, which needs no open port besides SSH:
ssh -L 3389:localhost:3389 user@203.0.113.10
Leave that running and point your Remote Desktop client at localhost. The same works for VNC with port 5901.
- Log in as a normal user, not as root.
Do you need a desktop on the server at all?
Often not. Three alternatives keep the server lean:
- Edit remotely from your own editor. Visual Studio Code opens folders on a server over SSH: see VS Code on Ubuntu.
- Web interfaces. Much server software has one; reach it through an SSH tunnel.
- If what you want is a Windows-style remote desktop to work on, a Windows server gives you that without assembly: see what a private RDP is.
On our servers
Our Linux VPS plans are delivered without a desktop, with root access. You can add a desktop and any of the remote desktop servers above yourself; choose a plan with at least 2 GB of memory for that. The earlier version of this page ended with "buy Linux RDP" as if it were a ready-made product; what we offer is the server, and this page is the recipe.
Questions
Can I use Remote Desktop with Linux?
Yes. Install a desktop and xrdp on the Linux machine, and connect with the Remote Desktop client built into Windows.
What is the difference between xrdp and VNC?
xrdp speaks Microsoft's RDP protocol and is usually faster. VNC is simpler and works with every desktop, but is slower and unencrypted by itself.
Which Linux remote desktop is fastest?
On slow connections X2Go and NoMachine are usually the smoothest. On a good line xrdp is fine.
Is it safe to open port 3389 on a Linux server?
Not to everyone. Limit it to your own IP addresses or reach it through an SSH tunnel.