I installed Kali in Virtualbox. The first issue I encountered was not having postgresql installed and then it installed metasploit. Update and upgrade have fully completed. Now I can't seem to run the GUI for it. I had to install Xorg. I use startx to start it but then it pops up with the 'Oh no! something has gone wrong' screen and asks me to log out. The Kali desktop appears for a split second then I'm back to command line. Virtualbox guest additions are working for the split second X is running but I already had this issue before installing guest additions. I also tried to run gdm3 but it gave me:

** (gdm3:3256): WARNING **: Couldn't connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

I realize you may require more information than this, like the Xorg log. I kind of want to avoid typing out the entire log though (as I don't know how to get it from my VM command line to here.)