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“
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
sudo nano /etc/polkit-1/localauthority/50-local.d/45-allow-colord.pkla
Paste in the following:
[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
Y and then press
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.