Um... xvfb-run, maybe?