Logs show this:
NX> 700 ERROR: /usr/NX/bin/nxkeygen: /usr/NX/lib/libstdc++.so.6: version `GLIBCXX_3.4.21′ not found (required by /usr/local/lib/AppProtection/libAppProtection.so).
Googling AppProtection churns out quite a number of threads:
https://stackoverflow.com/questions/66337540/firefox-shows-only-blank-pages-even-aboutconfig-is-just-white/66337541#66337541
https://www.reddit.com/r/Citrix/comments/153mcy3/citrix_app_protection_breaks_wordperfect_for_linux/
Try following the workarounds there, and then of course a fresh reinstall of NoMachine would be good after you’ve removed the other program.