since X isn't running then i think you need to have it start xterm, which is `autoOpenXterm="1"` in common.lib.
I tried, but that is not the problem.
Any other suggestions?
Btw I also tried:
export DISPLAY=:0
sudo DISPLAY=:0 ./startmining.sh
But it didn't work too.