From: "Carlos E. R."
Date: Thu, 23 Mar 2023 02:27:10 +0100
. . .
Have you tried "su -" instead of "su"?
--
Cheers / Saludos,
Carlos E. R.
(from 15.4 x86_64 at Telcontar)
No; I wasn't aware of this option. But I'm not sure what this does for
me in terms of XAUTHORITY. It does give me less noise from
QStandardPaths when I start yast2. Here's plain "su":
root@orion> yast2 &
[1] 5857
root@orion> QStandardPaths: runtime directory '/run/user/500' is not owned by UID 0, but a directory permissions 0700 owned by UID 500 GID 500
QStandardPaths: runtime directory '/run/user/500' is not owned by UID 0, but a directory permissions 0700 owned by UID 500 GID 500
QStandardPaths: runtime directory '/run/user/500' is not owned by UID 0, but a directory permissions 0700 owned by UID 500 GID 500
root@orion>
[1]+ Done yast2
root@orion>
And here's "su -":
root@orion> yast2 &
[1] 1715
root@orion> QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
root@orion>
[1]+ Done yast2
root@orion>
So program configuration software certainly seems to consider this an
improvement.
Can't say I'm tempted to try with the old XAUTHORITY though . . .
-- Bob