25 Feb
2024
25 Feb
'24
10:45
On 2024-02-23 22:46, Marc Chamberlin via openSUSE Users wrote:
Hello -
I am trying to grok how two X authority files get created and who/what is responsible for creating them. I have a script for starting up the x11vnc service and it needs to find the X authority file and looks for it in one of two places. The first location it looks for it is at /run/user/1000/xauth_* and if my script finds it there then my script assumes it is running on an OpenSuSE 15.4 or later system
Instead of assuming the openSUSE version, just find it out: cer@Telcontar:~> . /etc/os-release ; echo $VERSION 15.5 cer@Telcontar:~> -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)