Virtual Network Computing (VNC)
Virtual Network Computing (VNC) is a remote connection between two computers over a network that lets one computer control the other through a graphical interface, relaying mouse and keyboard input. Learn how VNC works, how it compares with RDP, and how to use it securely.
What is Virtual Network Computing (VNC)?
Virtual Network Computing (VNC) is a graphical desktop-sharing system. A VNC client (viewer) shows the screen of a remote computer running a VNC server and sends the user's keyboard and mouse input back to it. VNC is platform-independent: viewers and servers exist for Windows, macOS, Linux, and other systems, and they can usually connect across platforms. It is common for remote support and for managing machines without a native remote desktop service.
How does VNC work?
VNC uses the Remote Framebuffer (RFB) protocol:
- The VNC server runs on the remote computer, by default listening on TCP port 5900 (5900 plus the display number).
- The viewer connects and authenticates, traditionally with a VNC password and, in some implementations, with operating system accounts or stronger methods.
- The server sends the screen as framebuffer updates, often compressed, and sends only the parts that change.
- The viewer sends keyboard and mouse events, which the server applies as if they were local input.
Because VNC shares the actual screen, the local user and the remote user usually see the same session.
VNC vs. RDP
RDP is Microsoft's protocol, optimized for Windows, and typically opens a separate session for the remote user. VNC is cross-platform and mirrors the existing screen. RDP generally offers better performance and integration on Windows, while VNC's strength is broad compatibility.
Why does VNC matter?
VNC is simple and widely available, but basic VNC authentication is weak and some implementations do not encrypt traffic by default. VNC servers exposed to the internet are regularly found and attacked. Keep VNC off the public internet, tunnel or encrypt the connection, use strong unique credentials, and limit who can connect.
Frequently asked questions
What is VNC?
VNC (Virtual Network Computing) is a remote connection between two computers over a network that lets one control the other through a graphical interface.
Is VNC secure?
It depends on the implementation and setup. Basic VNC authentication is weak and traffic may be unencrypted, so VNC should be tunneled or encrypted and kept off the public internet.
What port does VNC use?
VNC servers listen on TCP port 5900 by default, plus the display number for additional displays.
Open VNC sessions alongside every other connection
Centralize RDP, SSH, VNC, web, and cloud console connections in one app.
Related terms
Remote Desktop Protocol (RDP)
Remote Desktop Protocol (RDP) is a network communications protocol owned and developed by Microsoft.
Read now →Remote control
Remote control is remote access to a computer system to support its functions.
Read now →