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: TR12R09991
Added on: 2020-12-23
Last update: 2021-01-21
Affects: 7.0
Due to be solved in:  7
Platform: All Linux Platforms
Product: NoMachine Server
Severity: Minor
Status: Open
Sessions don't start on the remote Linux host when the user's home is NFS mounted

Since NoMachine v. 7, logs of processes running as the logged-in user are stored in the user's home/.nx directory.

When the user's home is NFS mounted, however, NoMachine is unable to lock the nxserver.log file in the .nx directory in the user's home. As a consequence, the nxnode process fails during startup and the session doesn't start.

The nxerror.log file in the user's home/.nx directory reports a message like:

23813 23813 16:55:23 743.409 File: ERROR! Can't lock FD#7 with mask 0x5.
23813 23813 16:55:23 743.506 File: ERROR! Error is 9, 'Bad file descriptor'.
Error: Cannot lock log file '/home/user01/.nx/nxserver.log'


As a temporary workaround, enable logging to system logs in the server and node configuration files (/usr/NX/etc/server.cfg and /usr/NX/etc/node.cfg respectively).

Remove the pre-pending # from the key name and set:

EnableSyslogSupport 1

 

As an alternative, you can enable the CommonLogDirectory key in the node configuration file and set it to a local directory path, writable by all users who connect by NoMachine.


Notify me when the TR is closed.