Hi, > > xtrlock: "Cannot open display" when called from /lib/systemd/system-sleep
It is likely that the DISPLAY variable is being masked from the final xtrlock
binary.
$ DISPLAY=":0.0" su myusername -c "xtrlock" &
Can you try:
$ su myusername -c "env DISPLAY=:0.0 xtrlock" &
… or similar?
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` [email protected] 🍥 chris-lamb.co.uk
`-

