get gnome desktop for kali code example
Example 1: how to install gnome kali linux
$ sudo apt update && sudo apt install kali-desktop-gnome
# Then select gdm3 instead of light dm when prompted #
Example 2: how to install xfce kali
$ sudo apt update && sudo apt install kali-desktop-xfce