How to Install a GUI on Ubuntu

 

 

 

The OS is based on open-source Linux and is one of the most popular open-source OSes. A vast ecosystem of open-source applications makes it incredibly easy to use. You can run rich, graphical applications too. Linux-based servers aren’t just for background processes, GUIs are not included by default in Ubuntu Server. There is a cost to using a GUI (memory and processor resources) that is normally used for server-oriented tasks. In some cases, however, a GUI environment is better for managing tasks and applications. We will show you how to install a GUI on Ubuntu in this tutorial.

 

 

 

 

 

System Requirements

 

 

 

  • A server running Ubuntu Linux Server.

 

 

  • Access to a user account with sudo or root privileges.

 

 

So let’s begin,

 

 

 

There is a wide variety of Linux flavors available at VPSie, including different Ubuntu versions, Use the following link to create your Ubuntu virtual private server, We look forward to start a wonderful journey with you.

 

 

 

 

Step 1: Log into Ubuntu Server

 

 

 

 

The following commands will allow you to log in to the Ubuntu instance using your root password,

 

 

[email protected]:~# ssh [email protected]_server_IP

 

For passwordless login, you can also use SSH (secure shell) keys.

 

 

 

 

 

 

Step 2: Update Repositories and Packages

 

 

 

 

As a first step, update the repository and package lists,

 

 

 

sudo apt-get update && sudo apt-get upgrade

 

Press Y and hit Enter when asked if you want to continue.The latest software updates are installed when you do this.

 

 

 

 

 

Next, install the tasksel manager utility:

 

 

 

 

 

 

Step 3: Select a Display Manager

 

 

 

It initiates display servers, opens the desktop, and handles authentication. Display managers like GDM3 (used with KDE-Plasma) are resource-intensive. In order to save system resources, consider using a lightweight display manager like SDDM, SLiM, or LightDM. A server can be managed by only one display manager by default.

 

 

 

 

Install LightDM:

 

 

sudo apt-get install lightdm

 

 

Install SLiM:

 

 

sudo apt-get install slim

 

 

 

 

 

Step 4: Choose a GUI for Your Server

 

 

 

 

 

 

1. Mate Core Server Desktop

 

 

 

 

This popular graphical interface is lightweight and user-friendly. Follow these steps to install it:  

 

 

 

sudo tasksel install ubuntu-mate-core

 

 

 

 

Let tasksel complete the action. Then launch the desktop interface.

 

 

 

sudo service display_manager start

 

 

Instead of display_manager, type the name of the display manager you have installed (e.g., SLiM, lightDM, SDDM). You’ll be prompted to log in.

 

 

 

 

 

 

Enter the following command to exit the GUI:

 

 

 

sudo service display_manager stop

 

 

 

 

 

 

 

2. Xfce Desktop

 

 

 

 

It is possible to use Xfce as a standalone desktop environment. This is a lightweight, responsive and user-friendly desktop environment.

 

 

 

 

Install Xfce,

 

 

 

sudo apt-get install xfce4 slim

 

 

Launch Xfce,

 

 

 

sudo service slim start

 

 

 

 

 

 

3. KDE Plasma

 

 

 

 

Install KDE Plasma,

 

sudo apt-get install kde-plasma-desktop

 

 

If a default display manager is requested during installation, you must select it.

 

 

 

Launch KDE Plasma,

 

 

sudo service display_manager start

 

 

Instead of display_manager, type the name of the display manager you have installed (e.g., SLiM, lightDM, SDDM). You’ll be prompted to log in.

 

 

 

 

 

4. Xubuntu Server Core Desktop

 

 

 

 

 

Install Xubuntu,

 

 

sudo tasksel install xubuntu-core

 

 

Launch it,

 

 

sudo service display_manager start

 

 

 

 

 

Ubuntu Server comes with a number of GUI desktops. While we discussed only a few of them here, there are several others available.

 

 

 

 

Try VPSie for free today!

 

 

 

Get the most out of learning with VPSie.com