# RDP vs VNC Remote Desktop

> How RDP and VNC send a whole screen, not just text like SSH. Which one fits Windows or Linux, and why neither should face the internet bare.

**Course:** [SSH Keys and Logins](https://learn.benibix.com/learn/infrastructure-ssh)  
**Time:** 11 min

**After this lesson you can:**

- Tell SSH, RDP and VNC apart
- Pick RDP or VNC for a machine
- Keep both off the open internet

## When you need a whole screen, not text

SSH sends text. Sometimes you need the whole screen of a far machine, with windows and a mouse. RDP, the Remote Desktop Protocol, does that for Windows, on port 3389. VNC, Virtual Network Computing, sends a picture of any screen, on port 5900. Both are useful, and both are risky on the open internet.

RDP is built into Windows. It sends drawing orders, not just pictures, so it feels quick even on a slow line. It also carries sound, printers and the clipboard. Linux can speak it too, with an extra program.

VNC works on almost any system. It sends the screen as pictures and your clicks back. It is simple and it works everywhere, but it can feel slower. Many VNC setups do not lock the line at all.

Both are big targets. Bots scan the whole internet for port 3389 and try passwords, and a weak RDP login is a common way into a company. VNC with no lock sends your password and screen in plain view.

The fix is the same for both. Never leave them open to the world. Reach them through a VPN, or wrap them in an SSH tunnel. ssh -L 5901:localhost:5900 web1 carries VNC inside SSH, so the lock comes from SSH.

For a server, SSH is nearly always enough. A screen helps with a desktop app or a Windows machine. It also helps when someone needs to see what you click.

A common mistake is to open port 3389 for a quick fix and forget it. Within hours, bots start guessing. Close it again, or put it behind a VPN, the same day.

## SSH, RDP and VNC side by side

|  | SSH | RDP | VNC |
| --- | --- | --- | --- |
| Sends | Text | A Windows desktop | A picture of any screen |
| Port | 22 | 3389 | 5900 |
| Locked line | Always | Yes | Often not |
| Best for | Servers | Windows machines | Any system, simple help |

## Which one to pick

1. **Pick SSH.** When the machine is a server and typing commands is enough.
2. **Pick RDP.** When the far machine runs Windows and you need its desktop.
3. **Pick VNC.** When you need to see any system's screen, wrapped in SSH for the lock.

![Three ways into a far machine side by side. SSH shows $ uptime and $ ls /var/log: text only, port 22, locked by default. RDP shows a Windows desktop on port 3389, with the note keep it behind a VPN. VNC shows any screen on port 5900, with the note no lock, wrap it in SSH.](https://learn.benibix.com/diagrams/inf3-remote-desktop.svg)

### Example: Emma helps her dad

Emma's dad runs a Linux laptop and cannot find a setting. She wants to see his screen from 300 km away.

He starts a VNC server that listens only inside his laptop. Emma reaches it with ssh -L 5901:localhost:5900 through his home server, and fixes it in 10 minutes with the line locked.

**Words in this lesson:** [Remote Desktop Protocol (RDP)](https://learn.benibix.com/term/infrastructure/remote-desktop-protocol), [Virtual Network Computing (VNC)](https://learn.benibix.com/term/infrastructure/vnc), [Virtual Private Network (VPN)](https://learn.benibix.com/term/infrastructure/vpn)

> **The one difference.** RDP sends a Windows desktop with its own lock. VNC sends a picture of any screen, often with no lock, so wrap it in SSH.

**Question:** Why should port 3389 not be open to the whole internet?

**Answer:** Bots scan for it and guess RDP passwords. Port 3389 is RDP, and bots scan the internet for it all day. Keep it behind a VPN or inside an SSH tunnel.

---

Source: https://learn.benibix.com/learn/infrastructure-ssh/rdp-vs-vnc
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
