To install GUI
sudo apt-get install xserver-xorg lxde lightdm
This stuff was required to make the touchscreen work - otherwise the calibration just didnt do anything.
sudo apt-get install libx11-dev libxext-dev libxi-dev x11proto-input-dev xserver-xorg-input-evdev xinput-calibrator evtest -y
cd /usr/share/X11/xorg.conf.d
sudo mv 10-evdev.conf 45-evdev.conf
sudo vi 99-calibration.conf
add xinput_calibrator output, which should look like this:
Section "InputClass"
Identifier "calibration"
MatchProduct "eGalax Inc. USB TouchController"
Option "Calibration" "67 1948 1877 183"
Option "SwapAxes" "0"
EndSection