NoMachine Support

Your questions answered

Knowledge Base

Searching in: Trouble Reports
Filter the search results
Last update:
Affects:
Product:
Status:
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 ((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("nogroup")
      )
     )
 
    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