wkhtmltopdf could not connect to 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