Login to the Ubuntu terminal through SSH. Next, install Tasksel. It’s a Debian/Ubuntu tool that installs multiple related packages as a coordinated “task” onto your system.
You can do it with the following Linux command:
sudo apt update
sudo apt install tasksel
Next step, use the Tasksel command to install the default Ubuntu GUI desktop:
sudo tasksel install ubuntu-desktop
At this point, installation will start. Give it a while to finish.
Finally, reboot your system:
reboot
How to connect to the graphical Ubuntu desktop remotely
Now that you’ve connected to your remote server and installed a graphical desktop, it’s time to make a graphical connection.
- You can login to hosting providers’ IP-KVM access and you will be able to use the Ubuntu machine’s desktop.
- If you’re using a Supermicro server, download Supermicro IPMIView and connect directly through that application. You can download the Windows version here: https://www.supermicro.com/SwDownload/SwSelect_Free.aspx?cat=IPMI

For the Supermicro option, follow these steps to connect:
- Choose File -> New -> New system
- Enter the server’s IP address. (Don’t use http:// at the beginning)
You’re all ready to go.