Copy xvfb-run-safe to your non graphical env box sudo mv xvfb-run-safe /usr/local/bin/xvfb-run-safe sudo chmod a+x /usr/local/bin/xvfb-run-safe Set XVFB_RUN_LOCATION to xvfb-run-safe