Hack to make xtemp run without X - NOT TESTED