Headless is a Node.js wrapper for Xvfb, the virtual framebuffer
I added a stdio option (#22) that shows that the failures are as below. I actually got the same error on my laptop, and I was able to fix it manually by following the instructions from the first comment in [this issue](https://github.com/leonid-shevtsov/headless/issues/47) for the Ruby version of headless. ``` > [email protected] test /Users/travis/build/paulkernfeld/node-headless > node test/test.js _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2 _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local (EE) Fatal server error: (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) /Users/travis/build/paulkernfeld/node-headless/test/test.js:5 throw new Error('Timeout 2 seconds. You don\'t have xvfb installed or someth ^ Error: Timeout 2 seconds. You don't have xvfb installed or something else is seriously wrong. at options.display.width [as _onTimeout] (/Users/travis/build/paulkernfeld/node-headless/test/test.js:5:9) at Timer.listOnTimeout [as ontimeout] (timers.js:121:15) npm ERR! Test failed. See above for more details. ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by paulkernfeld and has received 0 comments.