If you are running a minimal or server version of Ubuntu and need to add the X11 display server, run the following commands in your terminal: sudo apt update sudo apt install xorg Use code with caution.
This command installs the core , including the server, fundamental libraries, and common input/video drivers. For a more minimal installation (useful for lightweight window managers), you can use sudo apt install xserver-xorg-core . 2. Enabling X11 on Desktop Versions download x11 ubuntu
If you only need to run graphical apps from a remote Ubuntu server on your local machine, you should install the x11-apps package to get testing tools like xclock . sudo apt install x11-apps . If you are running a minimal or server
Edit your SSH configuration with sudo nano /etc/ssh/sshd_config and ensure the line X11Forwarding yes is uncommented. Restart SSH: sudo systemctl restart ssh . 4. Verifying Your Installation 3. Installing X11 for Remote Forwarding
To , you primarily use the apt package manager to install the xorg metapackage. While modern Ubuntu versions (17.10 and later) often default to Wayland , the X11 (X.Org) display server remains fully available in the official repositories for users who need it for specific application compatibility or remote forwarding. 1. How to Install X11 Core Packages
If you already have a desktop environment (like GNOME) installed but it is currently using Wayland, you do not usually need to "download" X11—it is likely already on your system. To switch to it: of your current session. At the login screen, click your username . Click the gear icon (usually in the bottom-right corner). Select "Ubuntu on Xorg" or "GNOME on Xorg" . Enter your password and log in. 3. Installing X11 for Remote Forwarding