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: TR12P09040
Added on: 2018-12-12
Last update: 2019-04-05
Solved in version: 6.6.8
Platform: All Linux Platforms
Product: NoMachine Server
Severity: Serious
Status: Closed
Wrong file permissions might lead to "Connection Refused 111" error

Error "Connection Refused 111" while connecting to session might be caused by wrong "/usr/NX/var/db/unknown" catalog owner (known as "/Library/Application Support/NoMachine/var/db/unknown/" on macOS).

Originally reported on Linux, it also affects all Mac versions.

 

Workaround

To check the owner of "/usr/NX/var/db/unknown" catalog, use the command "ls -ltr /usr/NX/var/db/ | grep unknown" in a system console.

If the owner is set to "root:root", it needs to be changed to "nx:root" with the command "chown nx:root /usr/NX/var/db/unknown".

To check if the problem is fixed, restart the server by running "/etc/NX/nxserver --restart".

All commands must be run with root privileges.