What happened? How to fix it?
What version of Raspbian Jessie you running (Lite or Full)?
Lite version does not come with a x server.
To sum up you'd need to get GUI system, that would be:
apt-get install lxde
apt-get install lightdm
These should drag in
X and other dependencies if they are not there already. If you wish to start
X from the command line using startx or xinit, you'll need:
apt-get install xinit
sudo raspi-configto boot to desktop.