Akhil Dev

Akhil Dev

How to Install a Desktop (GUI) on an Ubuntu Server


How to Install a Desktop (GUI) on an Ubuntu Server?

It can be easily installed.

By default, Ubuntu Server does not include a Graphical User Interface (GUI).  A GUI takes up system resources (memory and processor) that are used for server-oriented tasks.

However, certain tasks and applications are more manageable and work better in a GUI environment.

This guide will show you how to install a desktop (GUI) graphical interface on your Ubuntu server.

How To Install A Desktop (GUI) On An Ubuntu Server


  • Ubuntu server 18.04 with SSH access
  • A non-root user with sudo privileges

Before getting started, ensure that you update & upgrade your system

$ sudo apt update && sudo apt upgrade

Next, install tasksel manager.

$sudo apt install tasksel

Now we can begin installing the various Desktop environments.

1) Mate Core Server Desktop

Installing the MATE desktop use the following command

$ sudo tasksel install ubuntu-mate-core

Once the GUI is up and running launch it using the following option

$ sudo service lightdm start


Mate Core Server Desktop

lightdm desktop2_akhil-dev


2) Lubuntu Core Server Desktop

This is considered to be the most lightweight and resource-friendly GUI for Ubuntu 18.04 server
It is based on the LXDE desktop environment. To install Lubuntu execute

$ sudo tasksel install lubuntu-core

Once the Lubuntu-core GUI is successfully installed, launch the display manager by running the command below or simply by rebooting your system

$ sudo service lightdm start

Thereafter, Log out and click on the button as shown to select the GUI  manager of your choice

Lubuntu Core Server Desktop

In the drop-down list, click on Lubuntu

Lubuntu Core Server Desktop

Log in and Lubuntu will be launch as shown below

Lubuntu Core Server Desktop

3) Kubuntu Core Server Desktop

Xubuntu is yet another light-weight desktop environment that borrows a lot from the Xfce desktop environment.

To get start with the installation of Xubuntu run the command below

$ sudo tasksel install kubuntu-desktop

Once it is successfully installed, start the display manager by running the command below or simply restart your server

$ sudo service lightdm start

Once again, log out or restart your machine and from drop the drop-down list, select Kubuntu

Kubuntu Core Server Desktop


Xubuntu borrows a leaf from the Xfce4 environment. To install it use the following command

# sudo tasksel install xfce4-slim

After the GUI installation, use the command to activate it

# sudo service slim start

This will prompt you to select the default manager. Select slim and hit ENTER.


Log out or reboot and select ‘Xfce’ option from the drop-down list and login using your credentials.

Shortly, the  Xfce display manager will come to life.



This desktop is consider as the most economical to system resources. Lubuntu is based on LXDE desktop environment. Use the following command

$ sudo apt-get install lxde

To start LXDE, log out or reboot and select ‘LXDE’ from the drop-down list of display managers on log on.



Gnome will take typically 5 to 10 minutes to install depending on the hardware and software requirements your server has. Run the following command to install Gnome

$ sudo apt-get install ubuntu-gnome-desktop


$sudo tasksel ubuntu-desktop

To activate Gnome, restart the server or use the following command

$ sudo service lightdm start



7) Budgie Desktop

Finally, let us install the Budgie Desktop environment. To accomplish this, execute the following command

$ sudo apt install ubuntu-budgie-desktop

After successful installation, log out and select the Budgie desktop option. Log in with your username and password and enjoy the beauty of the budgie!

Budgie Desktop

Budgie Desktop

Sometimes you need the GUI on your Ubuntu server to handle simple day-to-day tasks that need quick interaction without going deep into the server settings. Feel free to try out the various display managers and let us know your thoughts.


Leave a Comment

Your email address will not be published. Required fields are marked *