On 9/4/20 12:54 AM, Andrei Borzenkov wrote:
04.09.2020 05:10, Neil Rickert пишет:
I use:
XAUTHORITY=${XAUTHORITY:-$HOME/.Xauthority}
I've been using that incantation for 20 years.
The change you are seeing appears to be a change to SDDM.
If you are using GDM, it is still /run/user/uid/gdm/Xauthority
No. I have GNOME+Wayland and Xwayland $XAUTHORITY has random name under /run/user/$UID.
With Gnome-Wayland, I get /run/user/1001/.mutter-Xwaylandauth.3HPMQ0 and yes, part of that is random. But I think Xwayland is started in the Gnome session, rather than by GDM. Using GDM, if I login to Gnome-X11 or to Plasma or to Icewm, I get XAUTHORITY=/run/user/uid/gdm/Xauthority (where the "uid" is a number), as previously indicated. If I try Plasma-Wayland with Leap 15.2, I get the same as what SDDM is now doing in Tumbleweed -- namely /run/user/uid/xauth_random
Oh, and by the way, and what this script does under Wayland? :)
I'm not sure who you are asking. But if you are asking about that script fragment that I gave: XAUTHORITY=${XAUTHORITY:-$HOME/.Xauthority} that just uses $XAUTHORITY if it is already defined, and otherwise uses $HOME/.Xauthority -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org