You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.
When running inside of a docker container (Ubuntu 14.04.2 LTS with wkhtmltopdf 0.9.9-4) running the test: wkhtmltopdf http://google.com google.pdf
Results in: wkhtmltopdf: cannot connect to X server
Is this a version problem?
The text was updated successfully, but these errors were encountered:
@jondoe1337 You actually don't need to run a full Xserver within the container. You can simulate X connection using the xvfb tool. See my comment in #3119. For a base container to run xvfb checkout: https://github.com/metal3d/docker-xvfb
interesting, would love to hear more about those details as we are prototyping using xvfb. The documentation might be somewhat misleading, but as I understand it this tool is not headless.
@jondoe1337: you're probably running the distribution version of wkhtmltopdf, which doesn't use the patched Qt. You'll need to use the version from the downloads page.
When running inside of a docker container (Ubuntu 14.04.2 LTS with wkhtmltopdf 0.9.9-4) running the test:
wkhtmltopdf http://google.com google.pdf
Results in:
wkhtmltopdf: cannot connect to X server
Is this a version problem?
The text was updated successfully, but these errors were encountered: