Knowledge Base
Searching in : Article
ID: AR10M00865
Applies to: NoMachine Software
Added on: 2015-10-05
Last Update: 2015-11-09

How to solve possible problems with automatic Software Updates run inside a NoMachine session

On some systems running the Polkit tool (.e.g  RHEL 6) for defining and handling authorizations, users may experience problems when trying to run Software Updates inside a NoMachine session.

In particular, after checking dependencies and downloading the software, the Software Update window stays on “Waiting for Authorization”.

This problem may be solved by editing the Polkit rules set on the system.

Edit your package policy usually located at:  usr/share/polkit-1/actions/org.freedesktop.packagekit.policy as explained below.

Modify settings for the following three action items:


1) <action id=”org.freedesktop.packagekit.package-install”>
2) <action id=”org.freedesktop.packagekit.system-update”>
3) <action id="org.freedesktop.packagekit.package-remove">

and change settings:

<allow_any>

<allow_active>

<allow_inactive>

to 'yes' for all action items 1), 2) and 3).

For example:

Edit action item 1).

After the change, settings for action item 1) should look like:


<action id="org.freedesktop.packagekit.package-install">

<description>Install signed package</description>
<description xml:lang="as">চহি কৰা সৰঞ্জাম সংস্থাপন কৰক</description>
<description xml:lang="bg">Инсталиране на подписан пакет</description>
...
<message xml:lang="uk">Щоб встановити пакунок, слід пройти розпізнавання</message>
<message xml:lang="zh_CN">安装软件包需要认证</message>
<message xml:lang="zh_TW">要安裝軟體包需先經過身份認證</message>
<icon_name>package-x-generic</icon_name>
<defaults>
<allow_any>yes</allow_any>
<allow_inactive>yes</allow_inactive>
<allow_active>yes</allow_active>

</defaults>
</action>

 

Edit actions items 2) and 3) in the same way and save the Polkit policy file.

 

You should then be able to run the automatic Software Update inside the NoMachine session.