WIP - handle running without X on linux.