Skip to content
BENIBIX Learn

RDP vs VNC Remote Desktop

Level 5 · Reaching further

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 contentsLesson 9 of 9

After this lesson you can

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

11 mincovers 3 glossary entries

Worth reading first: SSH Tunnels and Jump Hosts

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

SSHRDPVNC
SendsTextA Windows desktopA picture of any screen
Port2233895900
Locked lineAlwaysYesOften not
Best forServersWindows machinesAny system, simple help

Which one to pick

  1. 1

    Pick SSH

    When the machine is a server and typing commands is enough.

  2. 2

    Pick RDP

    When the far machine runs Windows and you need its desktop.

  3. 3

    Pick VNC

    When you need to see any system's screen, wrapped in SSH for the lock.

Text through SSH, a Windows desktop through RDP, any screen through VNC.

Worked 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.

The words for this lesson3

Check yourself

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

Finished this lesson?

Marking it complete also marks its 3 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.