How to disable device sharing, audio and others |
2. Disks |
To disable exporting a disk from locale to remote and importing a remote disk to the local computer: EnableDiskSharing none
To disable exporting a disk from locale to remote: EnableDiskSharing server
To disable importing a remote disk to the local computer: EnableDiskSharing client
To disable exporting a printer from locale to remote and importing a remote printer to the local computer: EnablePrinterSharing none
To disable exporting a printer from locale to remote: EnablePrinterSharing server
To disable importing a printer to the local computer: EnablePrinterSharing client
To disable exporting a USB device from locale to remote and importing a remote USB device to the local computer: EnableUSBSharing none
To disable exporting a USB device from locale to remote: EnableUSBSharing server
To disable importing a remote USB device to the local computer: EnableUSBSharing client
To disable connecting a network port from locale to remote and viceversa: EnableNetworkSharing none
To disable connecting a network port from locale to remote: EnableNetworkSharing server
To disable connecting a network port from remote to the local computer: EnableNetworkSharing client
To disable connecting a smartcard reader: EnableSmartcardSharing 0
To disable transferring files from locale to remote and viceversa: EnableFileTransfer none
To disable transferring files from locale to remote: EnableFileTransfer server
To disable transferring files from remote to the local computer: EnableFileTransfer client
To disable recording of the local desktop: EnableLocalRecording 0
To disable recording of NoMachine session: EnableSessionRecording 0
To disable the automatic session recording for all session types, execute on the server host the 'nxserver --recording no' command.
On Linux or macOS, open a terminal and execute:
sudo /etc/NX/nxserver --recording no |
On Windows, launch a CMD console as administrator and execute:
cd %PROGRAMFILES%\NoMachine\bin nxserver --recording no |
To disable both audio and microphone: AudioInterface disabled
How to enable device sharing, audio and others |
12. Disks |
To enable exporting a disk from locale to remote and importing a disk to the local computer: EnableDiskSharing both
To enable exporting a disk from locale: EnableDiskSharing client
To enable importing a remote disk to the local computer: EnableDiskSharing server
To enable exporting a printer from locale to remote and importing a remote printer to the local computer: EnablePrinterSharing both
To enable exporting a printer from locale to remote: EnablePrinterSharing client
To enable importing a remote printer to the local computer: EnablePrinterSharing server
To enable exporting a USB device from locale to remote and importing a USB device to the local computer: EnableUSBSharing both
To enable exporting a USB device from locale to remote: EnableUSBSharing client
To enable importing a remote USB device to the local computer: EnableUSBSharing server
To enable connecting a network port from locale to remote and viceversa: EnableNetworkSharing both
To enable connecting a network port from locale to remote: EnableNetworkSharing client
To enable connecting a network port from remote to the local computer: EnableNetworkSharing server
To enable connecting a smartcard reader: EnableSmartcardSharing 1
To enable transferring files from locale to remote and viceversa: EnableFileTransfer both
To enable transferring files from locale to remote: EnableFileTransfer client
To enable transferring files from remote to the local computer: EnableFileTransfer server
To enable recording of the local desktop: EnableLocalRecording 1
To enable recording of the NoMachine session: EnableSessionRecording 1
|
20. Automatic Session Recording and Permissions |
|
To enable the automatic session recording for all session types, execute on the server host the 'nxserver --recording yes OPTIONS' command.
On Linux or macOS, open a terminal and execute:
sudo /etc/NX/nxserver --recording yes |
On Windows, launch a CMD console as administrator and execute:
cd %PROGRAMFILES%\NoMachine\bin nxserver --recording yes |
If no OPTIONS are specified, all types of sessions and for each user, are recorded from the begin to the end. The available OPTIONS to filter the automatic recording on per-session type, user, node basis and to fix a recording percentage are: --type physical|virtual --user USER_NAME --group USER_GROUP_NAME --guest --node NODE:PORT (for multi-node environments only) --nodegroup NODE_GROUP_NAME --percentage %_OF_SESSION_TO_BE_RECORDED
The following key in server.cfg allows to define the type of authorization required: AutomaticRecordingAuthorization 1: (default) the user can accept or refuse to allow NoMachine recording the session AutomaticRecordingAuthorization 0: the user is informed that his/her session will be recorded and in which percentage AutomaticRecordingAuthorization 2: the user can accept or refuse to allow NoMachine recording his/her session, but in this last case the session will be terminated.
By default, recorded files are saved in: /usr/NX/var/recording/ on Linux /Library/Application Support/NoMachine/var/recording %PROGRAMDATA%/NoMachine/var/recording on Windows
The configuration key to enable audio and microphone is: AudioInterface
On Linux set: AudioInterface pulseaudio or: AudioInterface alsa
On Mac and Windows: AudioInterface nxaudio
Copy and paste operations can be limited or fully disabled in the server configuration file: /usr/NX/etc/server.cfg on Linux /Applications/NoMachine.app/Contents/Frameworks/etc/server.cfg on Mac installationDirectory/NoMachine/etc/server.cfg on Windows.
To change settings, uncomment in server.cfg the configuration key and specify the new value.
To disable copying from locale and paste to remote and viceversa: EnableClipboard none
To disable copying from locale and paste to remote: EnableClipboard server
To disable copying from remote and paste to the local computer: EnableClipboard client
To enable copying from locale and paste to remote and viceversa: EnableClipboard both
To enable copying from locale and paste to remote: EnableClipboard client
To enable copying files from remote and paste to the local computer: EnableClipboard server
NoMachine Terminal Server and Enterprise Terminal Server permit to configure device sharing and other services like copy and paste operations via profile rules. The Cloud Server allows to create profiles and propagate them to its child server.
Either choose to configure services via configuration files or via profiles. This second method grants more flexibility, like the possibility to set rules on per-users basis or in case of multi-host environments, apply them to specific hosts only.
Please refer to the guide appropriated for your server type available in the 'Installation' section at: https://www.nomachine.com/all-documents
|
|