Ubuntu Server is a variant of the Ubuntu OS that does not include a graphical user interface (GUI) by default. GUI applications consume system resources needed for server-oriented tasks, so Linux server distributions usually avoid a GUI in favor of the command-line terminal.
Some tools, however, perform better and are easier to manage with a GUI. If you use a tool with a GUI, installing a desktop environment may improve the experience of working with the server.
This guide will show you how to install a desktop (GUI) graphical interface on your Ubuntu server.
I find this link helpful so you try also
https://phoenixnap.com/kb/how-to-install-a-gui-on-ubuntu
it is the instruction on how to install kinds of GUI in the server without a GUI like
Slim by
$sudo service slim start
Ubuntu Desktop by
sudo apt install ubuntu-desktop
KDE Plasma
sudo apt install kde-plasma-desktop
.
.
.