Authentication is required to create a color profile

How to fix “Authentication is required to create a color profile/managed device” on Ubuntu 20.04 / 20.10

Last updated on | 15 replies

You’ve installed your shiny new copy of Ubuntu, but upon connecting via RDP / Windows Remote Desktop, you see these two annoying errors:

  • Authentication is required to create a color profile
  • Authentication is required to create a color managed device
Authentication is required to create a color profile

You can click Cancel to these popups or enter your password to continue, but how can you get rid of them permanently?

The Culprit: Polkit

Ubuntu uses a software component called Polkit, which is an application authorization framework that captures actions performed by a user to check if the user is authorized to perform certain actions.

When you connect to Ubuntu remotely using RDP / Windows Remote Desktop, you will see the above errors because the Polkit Policy file cannot be accessed without superuser authentication.

How to Fix “Authentication is required to create a color profile/managed device”

The safest fix to get rid of these popups is to create a new configuration file in /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf.

sudo nano /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf

Paste in the following:

/etc/polkit-1/localauthority.conf.d/02-allow-colord.conf
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;
 }
});

Save and exit (press CTRL + X, press Y and then press ENTER)

This tells Polkit to continue without requiring the authentication prompt over RDP.

Now reboot Ubuntu and try logging in again over RDP / Windows Remote Desktop and the popups should be gone.

Let me know if this helped. Follow me on Twitter, Facebook and YouTube, or 🍊 buy me a smoothie.

p.s. I increased my AdSense revenue by 200% using AI 🤖. Read my Ezoic review to find out how.

15 replies

Leave a reply

Your email address will not be published.

  1. I’ve been living with those stupid dialogs for like a year, just one of those annoyances you just never get around to fixing. Thanks!

  2. This fix works but like others have commented it breaks other functionality. I’m using Remote Desktop connection and for me Ubuntu is now reporting a system error and asking if I want to report. That only pops up once whereas the Authentication windows continually popped up and the one about the color profile would just get stuck. As I leave the Ubuntu computer on I much prefer just cancelling the system error once instead of having multiple authentication windows pop up and that color pallet one get stuck and just stay there. Verdict? Not a perfect fix but works for me. Thanks a bunch!

  3. Works perfectly. That annoying window is now gone. It’s been bothering me for weeks now. Thanks mate. Cheers!

  4. This is not working “as expected”.

    Correct, the prompts for password do not show up anymore on login, however it breaks other functionality.

    One simple example: Snap Store – Uninstall an app requires a password, it won’t prompt and therefore you cannot uninstall anything.

    Machine Restart using menu (top right) doesn’t work because the prompt doesn’t show up.

    My recmmendation is to not use this “fix”.