xRDP “Authentication Required to Create Managed Color Device”

This popup can drive you crazy! I kept having it when RDPing from my Mac to my Linux machine. So annoying! But I found a very nicely written blog post on this, so I will just refer you to it.

https://c-nergy.be/blog/?p=12073

The upshot is to create a file (called 02-allow-colord.conf) in /etc/polkit-1/localauthority.conf.d/ and put the following content into it:

polkit.addRule(function(action, subject) {
 if ((action.id == "org.freedesktop.color-manager.create-device" ||
 action.id == "org.freedesktop.color-manager.create-profile" ||
 action.id == "org.freedesktop.color-manager.delete-device" ||
 action.id == "org.freedesktop.color-manager.delete-profile" ||
 action.id == "org.freedesktop.color-manager.modify-device" ||
 action.id == "org.freedesktop.color-manager.modify-profile") &&
 subject.isInGroup("{users}")) {
 return polkit.Result.YES;
 }
 });

Saved me from a lot of annoying popups!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.