Answers for "b"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-www-data'\nqt.qpa.screen: QXcbConnection: Could not connect to display \nCould not connect to any X display.\n"

1

QXcbConnection: Could not connect to display

Just install xvfb from apt and then, you can run:

xvfb-run wkhtmltopdf
Posted by: Guest on July-20-2020

Code answers related to "b"QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-www-data'\nqt.qpa.screen: QXcbConnection: Could not connect to display \nCould not connect to any X display.\n"

Browse Popular Code Answers by Language