Sometimes you need a GUI on your VPS, or an instance of Ubuntu Desktop to execute platform-specific applications. DigitalOcean doesn’t offer Ubuntu Desktop installations for Droplets, but you can add a GUI to Ubuntu Server.

Here are the simple steps:

  • Setup a new Ubuntu droplet with enough resources (it is recommended to have 4 GB of RAM to run Ubuntu Desktop);
  • SSH to the new droplet and run:
    $ sudo apt update
    
  • Install default Ubuntu Desktop Environment:
    $ sudo apt install ubuntu-desktop
    
  • Install XRDP:
    $ sudo apt install xrdp
    
  • If you have a firewall make sure that the 3389 port is open:
    $ sudo ufw allow 3389/tcp
    

Reference