So to clarify, using your instructions works on your Trisuel 8 system when
you use "DISPLAY=:0"
This works (opens a new Abrowser window, even if one is already opened):
$ pkexec --user banana env DISPLAY=:0 XAUTHORITY=/home/banana/.Xauthority
abrowser
This useless command (banana is currently logged in graphically) works as
well for Sabrinakitty. But it does not work for her (I have not tested) when
a different user (who is not root) is in argument of --user.
but gets the "Mir" error with "DISPLAY=:1"?
Yes (the output appears after I enter my password and press Enter):
$ pkexec --user banana env DISPLAY=:1 XAUTHORITY=/home/banana/.Xauthority
abrowser
Failed to connect to Mir: Failed to connect to server socket: No such file or
directory
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :1
Sorry for not having been clear in the first place.