-
Notifications
You must be signed in to change notification settings - Fork 5.8k
QXcbConnection: Could not connect to display #14240
Comments
If you compiled PhantomJS with X11 enabled, it will use XCB (X11) platform in runtime, which is not supported in headless environment. Instead of that you must build PhantomJS without X11 headers (dev packages installed) |
Thank you for your help. The official Linux 64-bit build works as expected. |
For future reference, this sort of breakage is caused by compiling PhantomJS against a system-supplied QtBase instead of our bundled version. The bundled version has been substantially modified; one of the changes is to avoid pulling in X11 libraries. |
@zackw for future reference, Qt 5.6 bundled with |
The Debian bug is https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817277 |
Version 2.1.1
phantomjs
Ubuntu 16.04 LTS
Binary from the official Ubuntu repository - version 2.1.1+dfsg-1
This is a fresh install, no X11 library has been installed (headless).
The text was updated successfully, but these errors were encountered: