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 updateInstall tasksel using the command below:
sudo apt install taskselNow run tasksel and choose ubuntu-desktop using the spacebar:
sudo taskselStep 2 - Reboot the system
Execute the following command to reboot the VPS:
sudo rebootStep 3 - Install xrdp
Let's install xrdp using the command below:
apt install xrdpEnable xrdp using the command below:
systemctl enable xrdpFinally, enable graphical target using the command below:
sudo systemctl set-default graphical.targetYou 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-fullReboot 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!
