Hi, check that you USB is enabled on your Linux server.
What to do if USB support is disabled on Linux
https://kb.nomachine.com/AR12J00658
then try again, and don’t forget to check that it loads correctly (tip in the last part of the article).
After compiling the kernel module it’s a good idea to check that it loads correctly on the machine where you compiled it. To do this start a NoMachine connection, open the Menu -> Devices -> Connect a USB device, and wait 10 seconds until available devices appear. Then, open a terminal on the host where you compiled nxusb.ko and type:
lsmod | grep nxusb
If the output is not empty, the nxusb kernel has been compiled and loaded correctly on your machine.
Does it help?