Installation error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
-
I installed Qt5.10.0 on my computer (Ubuntu), and I got this error:
./qt-opensource-linux-x64-5.10.0.run
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QXcbConnection: Could not connect to display
Core dumpedHow I can fix this problem?
Thank you so much! -
@jsulm
I use root#.
I installed X11, and got the error:
#yum install xorg
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile- base: mirror.kakao.com
- centos-sclo-rh: mirror.kakao.com
- centos-sclo-sclo: mirror.kakao.com
- epel: mirrors.aliyun.com
- extras: mirror.kakao.com
- updates: mirror.kakao.com
No package xorg available.
Error: Nothing to do
..............
thank you!
-
@Ho-Thao said in Installation error: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root':
I use root
Do you really have to?
You can install Qt in your home directory (what I always do), for that no root needed. -
Since you are on WSL, maybe related to this issue.
-
@SGaist I'm actually getting the app up and running, so I think WSL is working. I think it's just a matter of the path not being set. I'd have expected the project setup to have included this, but perhaps not.
This isn't a big deal; I was just wondering about it.