How to enable device sharing, audio and others |
11. 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
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 copy and paste operations also via profile rules. This means that you can apply settings for all users or on a per-user or a per-group basis.
The general format of the command to set the profile rule for the clipboard is:
nxserver --ruleadd --class feature --type server-clipboard|client-clipboard --value yes|no [--user USER|--group GROUP] |
Forbid copy&paste operations for user 'nxtest01': |
/etc/NX/nxserver --ruleadd --class feature --type client-clipboard --value no --user nxtest01 (user must already exist): /etc/NX/nxserver --ruleadd --class feature --type server-clipboard --value no --user nxtest |
Disable copy&paste operations from the local computer to the NoMachine session for group 'students' (group must already exist): |
/etc/NX/nxserver --ruleadd --class feature --type client-clipboard --value no --group students |
Disable copy&paste operations from within the NoMachine session to local for all users: |
/etc/NX/nxserver --ruleadd --class feature --type server-clipboard --value no |
|
|