# Virtual Network Computing (VNC)

> A way to see and use the screen of a far computer. It works on any system.

**Field:** Infrastructure  
**Category:** SSH & Remote Access  
**Also known as:** VNC, VNC Viewer, VNC Server

## Think of it like

Think of it like a video call with a screen. You watch it, and your clicks reach it.

## Definition

VNC is a way to see and control another computer's screen from far away. It works with Linux, Mac and Windows. It sends a picture of the screen and passes back your mouse and keys. Its server usually listens on port 5900. The protocol does not lock its traffic, so it is often sent through an SSH tunnel.

## Example

Jack needs the desktop on his home Linux box. He opens an SSH tunnel to it, then points his VNC viewer at the tunnel.

## Why it matters

It gives a desktop on systems where RDP is not built in, such as Linux.

## Common mistake

Opening VNC to the internet as it is. Its traffic is not locked, so wrap it in SSH or a VPN.

## Three principles

- **Any system.** Linux, Mac and Windows.
- **Port 5900.** The usual default.
- **Not locked.** Send it through SSH.

## Related terms

- [Remote Desktop Protocol (RDP)](https://learn.benibix.com/term/infrastructure/remote-desktop-protocol)
- [SSH Tunnel](https://learn.benibix.com/term/infrastructure/ssh-tunnel)
- [Secure Shell (SSH)](https://learn.benibix.com/term/infrastructure/ssh)
- [Virtual Private Network (VPN)](https://learn.benibix.com/term/infrastructure/vpn)

## Told apart from

- [RDP vs VNC](https://learn.benibix.com/compare/rdp-vs-vnc): People often think VNC and RDP are two names for the same thing. Both show a far screen, but they work in different ways. RDP is built into Windows and opens its own desktop session. VNC copies whatever screen is there, on any system. VNC has no lock of its own, so it needs SSH or a VPN.

## Taught in

- [RDP vs VNC Remote Desktop](https://learn.benibix.com/learn/infrastructure-ssh/rdp-vs-vnc): SSH, 9/9

![Three ways to reach a far machine, side by side. SSH sends only text, on port 22, locked by default. RDP sends a whole Windows desktop, on port 3389. VNC sends a picture of any screen, on port 5900, with no lock of its own, so it is wrapped in an SSH tunnel.](https://learn.benibix.com/diagrams/inf3-remote-desktop.svg)

---

Source: https://learn.benibix.com/term/infrastructure/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-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
