I have windows client with NoMachine installed version 5.2.11 and I am trying to connect to ubuntu 16 with Nvidia installed and NoMachine version 5.2.11. If the monitor is attached to that ubuntu, everything is fine – Windows client can connect just fine. However when the monitor is unplugged, then Windows client unable to connect.
I hunt for nxserver.log and this is what happens:
2017-04-01 13:27:45 452.831 4522 NXSERVER WARNING! Cannot retrieve node socket for session D23AB1E8B864FB1D501907C5045A13F8.
2017-04-01 13:27:50 674.246 4538 NXNODE ERROR! Application terminated too early.
2017-04-01 13:27:50 678.142 4522 NXSERVER ERROR! Sending error message ‘NX 501 ERROR: Session failed, application terminated prematurely.’