Reply To: Server.cfg settings – disable client using server.cfg.

Forum / NoMachine Cloud Server Products / Server.cfg settings – disable client using server.cfg. / Reply To: Server.cfg settings – disable client using server.cfg.

#3897
Britgirl
Keymaster

The client could be disabled by replacing the file ‘/usr/NX/bin/nxplayer.bin’ with a script doing only this:

#!/bin/sh

exit 255

The old file can be renamed and have permissions that don’t allow users to execute it.

This change will affect the NoMachine tray menu because
a) the menu items related to session starting will no longer work
b) the configuration of the server/node with the ‘Server preferences’ dialog will no longer apply the changes

Note that at every software update you will need to carry out this operation.We’ll see how disabling of the client can be made better.