Install Desktop environment on Ubuntu Server

creating a VM using vermin

In this post, we will use vermin to have Ubuntu VM desktop up and running in minutes using Vermin.

  1. Create Ubuntu VM using vermin
  2. Install ubuntu-mate-desktop on the VM
  3. Start the Ubuntu VM after installation

In this post, we will use ubuntu-mate-desktop, however you are free to install any desktop environment you like.

We will use vermin as it is a simple virtual machine program that uses Virtualbox as the underlying hypervisor.

To follow this tutorial, you will have to install vermin.

First, you need to install Virtualbox, then for Linux and macOS, in a terminal window:

And for Windows, Open a PowerShell terminal as an administrator then use:

Create Ubuntu VM using vermin

First, let’s create Ubuntu VM using vermin.

Open a Terminal (or PowerShell console in case of windows) and type:

vermin created Ubuntu VM with the name vm_07 the name might be different in your case, however.

Install ubuntu-mate-desktop on the VM

Now let’s login into the newly created VM vm_07, and install ubuntu-mate-desktop

From the host OS Terminal/PowerShell type:

Then inside the vm_07 session, type:

It will take a while downloading ubuntu-mate-desktop

installation of ubuntu-mate-desktop

Wait until it is done.

Now you can safely exit the session:

exiting vermin session by typing exit

Start the Ubuntu VM after installation

The latest step is to restart the VM after the ubuntu-mate-desktop has been installed and start the GUI session into it.

From the host Terminal/PowerShell, restart VM by using:

restarting vm_07 the ubuntu VM

Now, let's start GUI session inside Ubuntu VM by typing in the host Termina/PowerShell:

You will notice a window is opening as following:

Login using vermin password.

After login, you can change the display configurations the way you like it:

Software Developer/Architect

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store