Centos 7 rc.local设置开机启动QT程序提示:QStandardPaths: XDG_RUNTIME_DIR not set... 10C

localhost.localdomain rc.local[15230]: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to ‘/tmp/runtime-root’

localhost.localdomain rc.local[15230]: qt.qpa.screen: QXcbConnection: Could not connect to display

localhost.localdomain rc.local[15230]: Could not connect to any X display.

请各位大侠指教解决的方法!

1个回答

besthgt
besthgt 没看太明白,能不能详细解释一下?
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!