Sessions may suddenly terminate when hardware encoding is enabled
In some cases, users may experience a sudden termination of session due to a failed initialization of NVENC, the NVIDIA encoder.
As a temporary workaround, disable the hardware encoding.
You can do that via NoMachine UI: in the Server Settings -> Performance panel, un-check option 'Use hardware encoding'.
Otherwise edit the /usr/NX/etc/node.cfg file and set:
EnableHardwareEncoding 0
