Hi! I have a similar issue using my Linux machines, also NM v. 8.16.1. Accidentally discovered a potential cause for the black screen: too many active monitors! Here have a local-to-the-machine DisplayPort monitor, a remote monitor with a HDMI switch to select the source, and NoMachine. I found if the HDMI switch is selecting the NoMachine computer then the NoMachine display will go black. Deselect from the HDMI switch and the NM display came back (thought of course when I tested it just now didn’t but exiting and reconnecting obtained a NM display).
So from this isolated test appears if mirroring two displays NoMachine is not happy. Hopefully helps troubleshoot for others.
Barry