![](https://seccdn.libravatar.org/avatar/9435667f7160374bc34a8600b686aecd.jpg?s=120&d=mm&r=g)
18 Jul
2022
18 Jul
'22
08:06
On 18.07.2022 09:45, Adam Mizerski wrote:
AFAIK ~/.Xauthority is no longer used
$ systemctl --user show-environment | grep "^XAUTHORITY=" XAUTHORITY=/run/user/1000/xauth_GJhCTl
It depends on display manager. But yes, both GDM and SDDM are using random volatile location for each session (as well as Xwayland under GNOME).
Maybe you'll get better results with running it as "User Unit" (see "man systemd.unit").