VNC - Virtual Network Computing ================================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is VNC?** VNC (Virtual Network Computing) is a graphical desktop-sharing system that uses the Remote Frame Buffer (RFB) protocol to remotely control another computer by transmitting keyboard, mouse, and display data. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why is VNC useful?** VNC is useful for remote technical support, system administration, and accessing desktops across networks or platforms. It allows users to view and interact with a remote system’s graphical desktop as if they were physically present. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **How it works?** VNC works by capturing the graphical output (framebuffer) of the host system and sending it over the network to a VNC client. The client sends back keyboard and mouse input, enabling full remote interaction. It is platform-independent and often works over simple network connections. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is VNC used?** VNC is commonly used in: - IT support and troubleshooting - Headless server management - Remote desktop access for users - Educational environments and demonstrations .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which OSI layer does this protocol belong to?** VNC operates primarily at the **Application Layer (Layer 7)** of the OSI model using the RFB protocol over TCP/IP. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is VNC Windows specific?** No, VNC is **not Windows specific**. It is a cross-platform protocol with both clients and servers available for Windows, macOS, Linux, and even mobile platforms. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is VNC Linux specific?** No, but VNC is widely used in Linux environments. Linux has multiple VNC servers like `TigerVNC`, `TightVNC`, and `x11vnc`, and is a common platform for VNC deployments. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Transport Protocol is used by VNC?** VNC uses **TCP** as its transport protocol for transmitting display and input data. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Which Port is used by VNC?** By default, VNC uses **TCP port 5900** for the first display. Additional displays use **5901**, **5902**, and so on. VNC over HTTP (Java viewer) typically uses **port 5800**. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is VNC using Client server model?** Yes, VNC uses a **client-server model**. The **VNC server** runs on the machine to be controlled, and the **VNC client (viewer)** connects to it to display and interact with the remote desktop. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`VNC Version&IEEE Details ` * :ref:`VNC Basic Setup on Ubuntu using IPv4 ` * :ref:`VNC Basic Setup on Ubuntu using IPv6 ` * :ref:`VNC Protocol Packet Details ` * :ref:`VNC Usecases ` * :ref:`VNC Basic Features ` * :ref:`Reference links ` .. _VNC_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _VNC_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _VNC_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _VNC_step5: .. tab-set:: .. tab-item:: VNC Version&RFC Details * rfc details .. _VNC_step18: .. tab-set:: .. tab-item:: VNC Basic Setup on Ubuntu using IPv4 * setup .. _VNC_step19: .. tab-set:: .. tab-item:: VNC Basic Setup on Ubuntu using IPv6 * setup .. _VNC_step6: .. tab-set:: .. tab-item:: VNC Protocol Packet Details * packet details .. _VNC_step7: .. tab-set:: .. tab-item:: VNC Usecases * usecases .. _VNC_step8: .. tab-set:: .. tab-item:: VNC Basic Features * features .. _VNC_step17: .. tab-set:: .. tab-item:: Reference links * Reference links