Try starting up xvfb; maybe that'll help.