New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got this error: "QXcbConnection: Could not connect to display Aborted" #116
Comments
Not Snappy related - wkhtmltopdf/wkhtmltopdf#2037 |
@akovalyov Yes, you right. I just download and install latest debian package and it works fine! |
I'm getting the error for 0.12.2.4 wkhtmltopdf as well :/
Xubuntu 15.10 64bit |
@bluemanos |
I had the same issue with CentOS 6.8. There is a bug somewhere with wkhtmltopdf. I ended up downloaded an older version and it worked. https://jaimegris.wordpress.com/2015/03/03/how-to-install-wkhtmltopdf-in-centos-6-5/ |
I stil get this error on on a ubuntu16 server, be it on symfony2 and php 6.2. The problem keeps showing up al the way to wkhtmltopdf 0.13 so it seems that the problem is here to stay. That does have something to do with the internal workings of QX3 v.s. QX5 (wkhtmltopdf switched to the later. A clean solution is to use xvfb from kpnSnappy and ad a line in the Abstraggenerator::buildCommand that adds |
@rubenvdlinde How did you add |
Try this (works for me): |
Works great on our Ubuntu 16.04 servers. See work-around here: See post from @masterkorp on that page (I do not take credit for this):
|
For thous, who use Symfony (my version is 3.3.2) you can simply add this to config.yml file in the knp_snappy section:
|
Here is my code in controller:
I got this error when printme action is called:
The exit status code '134' says something went wrong:
stderr: "QXcbConnection: Could not connect to display
Aborted"
OS: Debian 8 (Jessie)
wkhtmltopdf version is 0.12.1
knplabs/knp-snappy": "~0.4.2"
knplabs/knp-snappy-bundle": "~1.3"
The text was updated successfully, but these errors were encountered: