3 Sep
2020
3 Sep
'20
19:11
Am Donnerstag, 3. September 2020, 20:45:30 CEST schrieb Hans-Peter Jansen:
Hi,
what's the canonical way to run scripts (eg. from crontab), that want to access the X session, (eg. xprop, wmctrl), now that xauth is a random file in /run/user/$UID?
Before the switch, it was possible to run such scripts from crontab, using the pattern:
XAUTHORITY=~/.Xauthority DISPLAY=:0 ~/bin/script
Scratch that. Florian provided the magic spell: "xhost +si:localuser:$USER" does the trick. Sorry for disturbance. Cheers, Pete -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org