Having the exact same problem on Mint 22.1. Screen appears appears and updates with local keyboard/mouse input, but mouse and keyboard are non-functional on the NoMachine client. Could I give the patch a try?
BTW – Thanks for making NoMachine available. It’s a pleasure to use.