This post will explain to you how to install ubuntu-desktop on Ubuntu VPS. Follow the steps below:
Step 1 - Installing Ubuntu desktop using tasksel
Let's update the server's package index using the command below:
sudo apt update
Install tasksel using the command below:
sudo apt install tasksel
Now run tasksel and choose ubuntu-desktop using the spacebar:
sudo tasksel
Step 2 - Reboot the system
Execute the following command to reboot the VPS:
sudo reboot
Step 3 - Install xrdp
Let's install xrdp using the command below:
apt install xrdp
Enable xrdp using the command below:
systemctl enable xrdp
Finally, enable graphical target using the command below:
sudo systemctl set-default graphical.target
You should now be able to connect using the Windows Remote Desktop Connection. Enter the IP of your VPS followed by the username and password of your non-root account and start using Ubuntu Desktop.
Step 4 - Customize Ubuntu Desktop like Windows (Optional)
You can customize your Ubuntu desktop installation to get a taskbar and taskbar icons like Windows. Execute the command below to install:
sudo apt install gnome-shell-extensions gnome-shell-extension-dash-to-panel gnome-tweaks adwaita-icon-theme-full
Reboot your Ubuntu server. Next, log in using RDP and search for Tweaks, and click extension.
Under extensions, enable "Dash to panel" extension and you will see the taskbar and application icons on your taskbar. Your Ubuntu installation will look like Windows. Happy Coding!