Sudden restart of macOS Monterey when using USB forwarding
On macOS 12 Monterey, using USB forwarding leads to a sudden restart of the Mac due to a kernel failure during the system's attempt to load the NoMachine USB kext driver e.g. when opening the Devices -> Connect a USB Device panel, or at session startup if “Export device at session startup” was previously selected. In some cases it can happen also when the session is closed. This behaviour affects both client and server.
As a workaround, if it's possible to access the USB device panel in the NoMachine session, uncheck “Export device at session startup”.
On the server side, disable also the USB forwarding service: open the server UI, Settings -> Server -> Devices and uncheck 'USB devices'.
As an alternative workaround for client and server, remove the NoMachine NoMachine USB daemon. From a terminal on the Mac execute:
sudo rm /Applications/NoMachine.app/Contents/Frameworks/bin/nxusbd
SOLVED, Released in version 7.8.2
