
For example, the following command will start a VNC session with desktop ID 2: vncserver :2 -geometry 1366x768 -depth 24 Multiple users can connect the Ubuntu system and work simultaneously, But you have to start multiple VNC sessions with different desktop IDs. For Microsoft Windows, you can use the RealVNC Viewer.Įnter your Ubuntu server IP address and the VNC desktop number to be connected. Ubuntu users can use the tigervnc-viewer or Vinagre remote desktop viewer. The user needs a VNC Viewer to connect to Ubuntu from their local computer. The remote session will use the 1366x768 resolution, and the desktop ID is 1.

Vncserver :1 -geometry 1366x768 -depth 24 Save the configuration file and start the VNC Server:.First, stop the VNC Server with the kill command:Īnd make sure that the xstartup file is similar to the following configuration:


Open the Ubuntu terminal and use the following commands to install the Xfce desktop session:.To Install and Configure VNC Server on Ubuntu 20.04, perform the following steps: Automatically start the VNC server on startup You can use the following guide to install the VNC server on both Ubuntu 22.04 LTS and Ubuntu 20.04 LTS. VNC (Virtual Network Computing) is a cross-platform remote control utility that uses the Remote Frame Buffer (RFB) protocol, is a way to share a graphical desktop over the network, similar to Remote Desktop on Microsoft Windows. In this tutorial, you will learn how to install VNC on Ubuntu to access the graphical desktop from a remote computer.
