It looks like a known problem.
Can you please try the attached library:
1) Open NoMachine Service program, click on “Sever running” and then on “Exit” to shutdown the NoMachine server.
2) Rename the original libnxdimi.dll file in your “C:\Program Files\NoMachine\bin” directory and substitute with the attached one.
3) Open NoMachine Service program again and restart the server.