installing gui for ubuntu 20.04 server 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