Hi,
NoMachine is designed to work out-of-the-box on headless machines, nevertheless, in some cases users can experience a black screen when connecting to the remote host. This can be triggered by multiple factors, such as the GPU model, the graphic card driver or the program which uses the GPU for rendering.
I’m afraid we can’t do anything to fix this, but you could try using a different capture method by adding this line in node.cfg on the server side:
DisplayServerExtraOptions “-nodxgigrab”
and restart the server afterwards (go to Settings -> Server -> Server status -> Restart server). If that doesn’t help, the only option is keep the screen connected when using NoMachine.