By default, .nxs files are stored in the NoMachine directory defined in the Connections field from the 'Player environment panel of the GUI'. Per-session settings are defined in these files.
<option key="Server host" value="" />
<option key="Connection service" value="ssh" /> <option key="Server port" value="22" /> <option key="Server authentication method" value="system" /> <option key="System login method" value="password" />
Accepted values are: 'password', 'privatekey', 'smartcardkey','kerberos'.
The client will connect to SSHD as system user.
<option key="Connection service" value="nx" /> <option key="NoMachine daemon port" value="4000" /> <option key="NX login method" value="password" />
Accepted values are: 'password' or 'privatekey'.
<option key="User" value="" /> <option key="Auth" value="EMPTY_PASSWORD" />
Password must be scrambled with the following algorythm: https://www.nomachine.com/AR01C00125
<option key="Connect to this node when manual selection is enabled" value="" />
Value is the name of the node as it appears in the output of 'nxserver --nodelist', i.e. in the format IP or hostname:port. The connection will be started on the remote node specified in this key, even if the possibility to choose the remote node (manual node selection) is enabled on the server.
This key applies to multi-node environments only (Enterprise Terminal Server + Terminal Server Nodes)
<option key="Session" value="" />
Accepted valuse are: 'unix', 'windows' or 'vnc'. 'windows' indicates RDP sessions.
<option key="Session" value="unix" /> <option key="Desktop" value="" />
Accepted values are: 'xsession-default', 'kde', 'gnome', 'xdm' or 'console'.
Value 'xsession-default' will start the default desktop environment as set on the system and specified in the DefaultDesktopCommand node configuration key.
Value 'console' specifies a custom session.
<option key="Session" value="unix" /> <option key="Desktop" value="console" /> <option key="Custom Unix Desktop" value="" />
Accepted values are: 'application', 'default' or 'console'.
<option key="Session" value="unix" /> <option key="Desktop" value="console" /> <option key="Custom Unix Desktop" value="application" /> <option key="Command line" value="" />
Specify path to the command to be executed in the value field.
<option key="Session" value="unix" /> <option key="Desktop" value="console" /> <option key="Virtual desktop" value="false" />
<option key="Session" value="unix" /> <option key="Desktop" value="console" /> <option key="Virtual desktop" value="true" />
Message to enable/disable the remote audio.
<option key="Show remote audio alert message" value="false" />
Message to enable/disable resizing the remote desktop to the size of the client window.
<option key="Show remote display resize message" value="false" />
Accepted values are: 'true' or 'false'.
<option key="Resize the remote screen to the local geometry" value="true" />
Accepted values are: 'true' or 'false'.
<option key="Enable session auto-resize" value="true" />
Accepted values are: 'true' or 'false'.
<option key="Resolution" value="" />
Value must be specified in the format of 'WxH', e.g. 1024x768.
This option makes the client to ask the remote desktop to start with the given resolution. The remote desktop can ignore this setting if it has a different configuration stored in desktop manager settings or if the 'Resize the remote screen to the local geometry' or the 'Enable session auto-resize' option are enabled (set to 'true').
Predefining the size of the client window may be problematic when it is running in windowed mode. The size of the window depends from the resize mode, from the available desktop geometry and from the behaviour of the remote desktop manager. Using the NXS file to preconfigure the window size behaviour may not work as expected.
<option key="Session resize mode" value="viewport" />
Accepted values are: 'viewport' or 'scaled'.
When value is 'scaled', the remote desktop is scaled to fit the client window.
<option key="Link quality" value="9" />
Accepted values are from 1 to 9.
<option key="Disable network-adaptive quality" value="true" />
Accepted values are: 'true' or 'false'.
<option key="Disable image post-processing" value="true" />
Accepted values are: 'true' or 'false'.
Please note that post processing is made only on client side. This change will not affect server side.
|