This question already has an answer here:
After upgrading my 13.04 vm to 13.10 when I run my 13.10 vm all I get is a black screen with flashing _. I can alt f1-f6 to get into tty1-6 and I ran apt-get update & upgrade but still no luck.. When I try to run gui apps from the tty1 it states that GtkWarning: could not open display.
And when I type unity the error says no DISPLAY variable set, setting it to :0 unity-panel-service: no process found
Can someone help me to get unity working again?
The link you gave me did not fix the problem and since this is virtual machine i dunno which video card it is using