how to make ubuntu server 20.04 as gui code example
Example 1: start Gui on your Ubuntu 20.04 system from cli
$ sudo systemctl isolate graphical
Example 2: start Gui on your Ubuntu 20.04 system from cli
$ sudo systemctl set-default graphical.target