I am currently running of EOS in a virtual machine using VirtualBox on Windows. It has been working fine for a while, but this morning a little while after updating via the Appcenter, the GUI stopped working and just has a black screen with a blinking cursor in the upper left. I am able to log in using the TTY1 screen (terminal only) and that seems to work just fine. Rebooting doesn't resolve the issue.
startx command doesn't seem to do anything. The screen just blinks and goes back to the terminal.
I also ran these commands:
sudo apt-get remove --purge libxfont1
sudo apt-get install libxfont1 xorg
sudo rm ~/.Xauthority
No change came from those either. I ran
sudo apt-get install --reinstall elementary-desktop to no avail.
I also ran:
sudo apt-get install --reinstall xorg
Finally I ran
sudo apt autoremove and that didn't resolve the issue either.