sets up headless X server