sudo dpkg -P nomachine
sudo rm -rf /usr/NX /etc/NX /var/NX
In some cases, mainly dependent on system configuration, after having updated NoMachine Terminal Server to version 6, the server log file fills up rapidly with warning messages like:
2017-12-01 08:04:37 791.607 144754 NXSERVER WARNING! Process '/usr/NX/bin/nxexec /usr/NX/scripts/restricted/nxenvironmentget.sh mate-session mate-session' with pid '5111/5111' finished with exit code 1 after 0,014 seconds.
2017-12-01 08:04:37 791.829 144754 NXSERVER WARNING! __getProcessEnvironment /usr/NX/scripts/restricted/nxenvironmentget.sh finished with 1
This does not impact the software's functionalities.