NX server shutdown
sudo /Applications/NoMachine.app/Contents/Frameworks/bin/nxserver.bin --shutdown sudo /Applications/NoMachine.app/Contents/Frameworks/bin/nxserver.bin --startmode manual
sudo /Applications/NoMachine.app/Contents/Frameworks/bin/nxserver.bin --shutdown sudo /Applications/NoMachine.app/Contents/Frameworks/bin/nxserver.bin --startmode manual