Hi all,

on Debian 12 I was getting that annoying color-manager polkit authentication window again.

Turns out, the file
/etc/polkit-1/localauthority/10-vendor.d/x2goserver-no-colord.pkla
installed by x2goserver no longer has any effect because that backend is obsolete in polkit >= 120 or so.

I ported the original rule to /etc/polkit-1/rules.d/color-manager.rules with the following content:


polkit.addRule(function(action, subject) {
        if (action.id.match("org.freedesktop.color-manager") &&
            subject.local == false ) {
                polkit.log("action=" + action);
                polkit.log("subject=" + subject);
                polkit.log("action '" + action.id + "' denied!");
                return polkit.Result.NO;
        }
});


That solved the issue for me.

Supposedly one can also install the package polkitd-pkla to get back support for the old file, but I have not tried that approach.

Best wishes
--
 .''`.   Philipp Huebner <debala...@debian.org>
: :'  :  pgp fp: 6719 25C5 B8CD E74A 5225  3DF9 E5CA 8C49 25E4 205F
`. `'`
  `-

Attachment: OpenPGP_0xE5CA8C4925E4205F.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature

_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-user

Reply via email to