NoMachine Support

Your questions answered

Knowledge Base

Searching in: Trouble Reports
Filter the search results
Last update:
Searching in: Trouble Reports
ID: TR08O08021
Added on: 2017-08-23
Last update: 2018-12-07
Solved in version: 6.4.6
Platform: All Linux Platforms
Product: NoMachine Server
Severity: Serious
Status: Closed
Authentication dialog box appears while creating a virtual session requesting user to authenticate

This has been reproduced on on Ubuntu 15.04, 18.04 and Fedora 21.

When creating a virtual session, a dialog box requiring authentication pops up. For example:

Authentication is required to create a color profile


A possible workaround is to define a rule, in the polkit file, to allow users to create color profile of display.


- Create file

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

- Edit it and paste into it the following lines:

polkit.addRule(function(action, subject)
  if (( == "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"
      ) && (
    return polkit.Result.YES;


- Set correct ownership and permissions:

        sudo chown root:root  /etc/polkit-1/localauthority.conf.d/02-allow-colord.conf

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