QXcbConnection: Could not connect to display Could not connect to any X display. code example
Example: QXcbConnection: Could not connect to display
Just install xvfb from apt and then, you can run:
xvfb-run wkhtmltopdf
Just install xvfb from apt and then, you can run:
xvfb-run wkhtmltopdf