Update Repositories and Packages
Start by ensuring the software on the server is up to date.
1. Refresh the repository and package lists, and perform the necessary upgrades with the following command:
sudo apt update && sudo apt upgrade
Install and set up Display Manager
A display manager is an application that starts the display server, launches the desktop, and manages user authentication. The default GDM3 is a resource-intensive display manager. To conserve system resources, consider a lighter tool, such as SLiM or LightDM.
This guide uses SLiM to illustrate the rest of the GUI installation process.
1. To install SLiM, type:
sudo apt install slim
Ubuntu Desktop
The default Ubuntu Desktop is a modified version of the GNOME desktop environment.
1. Install Ubuntu Desktop by running the following command:
sudo apt install ubuntu-desktop