Install a Desktop (GUI) on an Ubuntu Server
Step:-1 Update Repositories and Packages sudo apt-get update sudo apt-get upgrade sudo apt-get install tasksel Step:-2 Select a Display Manager sudo apt-get install slim OR sudo apt-get install lightdm Step:-3 Exceute tasksel [Select Desktop package] The system will install the software and reboot, giving you a graphical login screen generated by your default display manager. Ref: https://phoenixnap.com/kb/how-to-install-a-gui-on-ubuntu