相关文章推荐
喝醉的镜子  ·  岗位职责·  4 月前    · 
傲视众生的饭卡  ·  100G ...·  9 月前    · 
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more about Teams

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

Ask Question

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)

You can try out setting the environment variable XDG_RUNTIME_DIR to your path, using either

export XDG_RUNTIME_DIR=/var/run/user/1000
export XDG_RUNTIME_DIR=/run/user/1000

before calling your program.
Based on https://stackoverflow.com/a/55210689/5114342.

FYI: XDG stands for Cross Desktop Group. The term is used by freedesktop.org specifications aiming interoperability. One of these is : XDG Base Directory Specification describing the use of variable XDG_RUNTIME_DIR. – Jannis Ioannou Sep 7, 2022 at 20:32

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.