Authentication is required to create a color profile

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

Last updated on | 44 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/50-local.d/45-allow-colord.pkla.

sudo nano /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla

Paste in the following:

/etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
[Allow Colord all Users]
Identity=unix-user:*
Action=org.freedesktop.color-manager.create-device;org.freedesktop.color-manager.create-profile;org.freedesktop.color-manager.delete-device;org.freedesktop.color-manager.delete-profile;org.freedesktop.color-manager.modify-device;org.freedesktop.color-manager.modify-profile
ResultAny=no
ResultInactive=no
ResultActive=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.

44 replies

Leave a reply

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

  1. It worked for me, but now I don’t have the color profile, and it can’t be calibrated either, therefore the nightlight no longer works.

  2. Me funciono, pero ahora no tengo el perfil de color, y tampoco se puede calibrar, por lo tanto ya no funciona el nightlight.

  3. Awesome! Worked on my “headless” 22.04 Ubuntu Server LTS install. i say headless cause tty1 is set to display btop++ and i have my actual gui on pts1 through xrdp :P. anyways logging into the gui was annoying cause of the error and you fixed it! Thank you!

  4. If it’s not happening when you are remotely connecting, but locally logging in – you’ve probably installe Chrome Remote Desktop (on Debian/Ubuntu) or something similar (like NoMachine server, etc).

    In that case, you’d want to disable to service while you want this behavior gone, and enable only when necessary.

    In the case of Chrome Remote Desktop Host:

    1. First discover if you do have the service running:

    “`bash
    sudo systemctl status chrome-remote-desktop@
    “`

    2. Assuming you did get a running and active service, just disable it:

    “`bash
    sudo systemctl disable chrome-remote-desktop@
    “`

    Restart, and see the issue resolved. You might have found other issues happening as well, not just `Authentication required to add a color device`, but also `Authentication required to restart` due to other system users being logged on (of the same name).

    When you ever need to enable to service again (preemptively, of course) just do:

    “`bash
    sudo systemctl enable chrome-remote-desktop@
    “`

    Just wanted to add this here, since this is the #1 answer for search queries related to my issue; which were happening when I locally log into the actual machine.

  5. I would be happy to buy you a big mac. For several days I have been trying to logon to Ubuntu 22 and then remote desktop using the same username without success. If I was logged onto ubuntu, I could not get RDP to run from windows with the same username. Other usernames would work. In essence the program should have just shut down the screen and I should see the screen appear on RDP. I also got the authentication messages.

    Your solution solved both problems.

    Thanks.

  6. Hi,

    I have this problem when I log in *locally*, not through rdp, so I’m wondering if this fix is right for me ?

    I have both those messages :

    * Authentication is required to create a color managed device
    * Authentication is required to refresh the system repositories

    It appeared after an update a week or two before, previously this computer didn’t have this issue since it was installed 2 years ago.

  7. It’s not required reboot….. just restart polkit service: systemctl restart polkit, that’s enough, thanks!

  8. Thank you very much for posting this solution to the issue “Authentication is required to create a color profile/managed device”. It works great. I did it on a DEBIAN 11 server.

  9. I did this and it fixed my issue which is great. However, it’s a little bit confusing that in some of the comments there are people mentioning that it broke other functionality for them. Perhaps it would be worth explaining what the change was so that people do not read the comments and get scared off?

    1. The original method did break some functionality. I was slow to update the guide because this stuff takes time to research and test. But the new method has been recommended on other forums and I have tested it myself on my own box.

  10. 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!

  11. 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!

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

  13. 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”.