I use Garuda Linux (an arch based distro), and i login with sddm.
There is actually another problem. If i set a display number manually to :0 it still won't work. The error returned is Invalid MIT-MAGIC-COOKIE-1 key. But i have found i need to enable the cups group to interact with my X session. *I have read that this is not secure but the command to add is xhost +local:cups and xhost -local:cups to revoke.
Maybe there is an option for the printing script to automatically toggle that?
I have made a fork and I have tried to make it happen but with no success, like I sad I am not a very experienced in shell scripting
Originally posted by @tomasz-brak in #1 (comment)
There is actually another problem. If i set a display number manually to :0 it still won't work. The error returned is Invalid MIT-MAGIC-COOKIE-1 key. But i have found i need to enable the cups group to interact with my X session. *I have read that this is not secure but the command to add is
xhost +local:cupsandxhost -local:cupsto revoke.Maybe there is an option for the printing script to automatically toggle that?
I have made a fork and I have tried to make it happen but with no success, like I sad I am not a very experienced in shell scripting
Originally posted by @tomasz-brak in #1 (comment)