首页 > 解决方案 > Ubuntu:QXcbConnection:无法连接到显示器无法连接到任何 X 显示器

问题描述

操作系统错误 wkhtmltopdf 以非零代码 1 退出。错误:QStandardPaths:XDG_RUNTIME_DIR 未设置,默认为 '/tmp/runtime-root' qt.qpa.screen:QXcbConnection:无法连接到显示器 无法连接到任何 X 显示器。

标签: pythonwkhtmltopdfubuntu-18.04django-wkhtmltopdf

解决方案


推荐阅读