Saturday, April 9, 2022

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

Issue

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)


Solution

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

export XDG_RUNTIME_DIR=/var/run/user/1000

or

export XDG_RUNTIME_DIR=/run/user/1000

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



Answered By - Aziuth
Answer Checked By - Dawn Plyler (WPSolving Volunteer)