StandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 而不是 0...如何在 fedora 上解决

StandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0...How to solve on fedora

QStandardPaths: wrong ownership on runtime directory /run/user/1000, 1000 instead of 0 Warning: found huge icon. The icon data may be ill-encoded. (2000 x 2000) Warning: found huge icon. The icon data may be ill-encoded. (2000 x 2000) Warning: found huge icon. The icon data may be ill-encoded. (2000 x 2000) Warning: found huge icon. The icon data may be ill-encoded. (2000 x 2000)

您可以尝试将环境变量 XDG_RUNTIME_DIR 设置为您的路径,使用

export XDG_RUNTIME_DIR=/var/run/user/1000

export XDG_RUNTIME_DIR=/run/user/1000

在调用您的程序之前。
基于 .