On 10/20/24 02:40, Andrei Borzenkov
wrote:
20.10.2024
10:22, Marc Chamberlin via openSUSE Users wrote:
Hello SuSE gurus - I recently upgraded a
few of my OpenSuSE 15.4 x64
systems to OpenSuSE 15.6 x64 (yes with an intermediate upgrade
to 15.5)
and a number of my custom scripts and software broke. FWIW I am
using
KDE with the X11/plasma desktop. I tracked the problem down to a
change
in location of the xauth_xxxx file that gets created. In 15.4
this file
was located at /run/user/1000/xauth_xxxxx as shown below -
> > env | grep XAUTH
> XAUTHLOCALHOSTNAME=quasar
> XAUTHORITY=/run/user/1000/xauth_VMlqlf
In 15.6 this file got moved to /tmp as shown below -
> > env | grep XAUTH
> XAUTHLOCALHOSTNAME=wa7pxw
> XAUTHORITY=/tmp/xauth_NrHHAf
Why?
https://bugzilla.opensuse.org/show_bug.cgi?id=1212932
Is it possible to change 15.6 back to use
the previous
/run/user/1000 location, and if so how? Or am I going to have to
change
all my scripts and rebuild software that depended on the old
location?
Inside X11 session your programs are supposed to use $XAUTHORITY.
Outside of X11 session this should not be used at all.
If you explain why you need to know this location, someone may be
able to suggest an alternative way of doing it.
Thanks Andriei, please forgive my midnight email, I had the same
though as an epiphany later last night. I "borrowed" the scripts and
software I am using, from the internet (for x11vnc) and they were
hard-coded to use these paths. I will just change them to use the
XAUTHORITY environment variable instead. Consider this resolved.
Marc..