Install GUI on Ubuntu Server In 2024 Install GUI on Ubuntu Server In 2024

Install GUI on Ubuntu Server In 2024

How To Install GUI on Ubuntu Server In 2024

By Default, You won’t find any graphical interface on Ubuntu server. If you want to install Graphical User Interface on Ubuntu server then this tutorial is for you.

Step By Step To Install GUI on Ubuntu Server In 2024

1. Open the Ubuntu Server and login using your credentials, username and password.

Now, You need to update the repository of your Ubuntu server. Run the following command to update the repos.

sudo apt update

2. Install Display Manager

Now, You need to install the display manager to launch the display server. Ubuntu is loaded with GDM3  as the default Gnome Desktop Environment in Ubuntu but in this tutorial we will be using lightweight desktop environment.

Run the following command to install LightDM display managert on the Ubuntu.

sudo apt install lightdm

Follow the onscreen prompt.

Step 3: Install GUI on Ubuntu Server

You can install all of the desktop environments using Ubuntu’s default package manager apt.

Run the following  command to install GNOME desktop

sudo apt install ubuntu-desktop

Follow the onscreen instruction and Type y to continue the process. After installation is complete, Run the reboot command to restart the Ubuntu server:

reboot

After greeting, You will be greeted with the lightdm screen  where you need to enter the login credential to access the GUI in Ubuntu server.

Just in case if you want to install other Desktop environment then go through the following commands.

For KDE:

sudo apt install kde-plasma-desktop

For XFCE:

sudo apt install xfce4-session xfce4-goodies

For Mate:

sudo apt install ubuntu-mate-desktop

For LXDE:

sudo apt install lxde

Just in case if you want to remove the desktop environment from the Ubuntu server then run the following command:

sudo apt remove <display_manager_name> <desktop_environment_name>

Run the following command to remove all of the unnecessary dependencies, run:

sudo apt autoremove

Leave a Reply

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