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