Here’s a screenshot with the command that generates the notification. I tried with “Blank the physical screen when somebody connects” on and off and it’s the same in both cases. The notification itself shows up only after the NoMachine connection is closed.
No change. I removed NoMachine (it was already there and the box was checked) from ScreenRecording and then added it in, making sure it’s checked. Still have to manually log into the Mac after a reboot to be able to log remotely with NoMachine.