NICE DCV Server Parameter Reference - NICE DCV

NICE DCV Server Parameter Reference

The following table lists the parameters that can be configured to customize the NICE DCV server.

Note

The Reload context column in each table indicates when the parameter is reloaded. Possible contexts include:

  • server—The parameter is loaded once when the server is started. If the parameter value is updated, the new value is loaded when the server is restarted.

  • session—The parameter is loaded when the session is created. If the parameter value is updated, the new value is loaded for subsequent sessions.

  • connection—The parameter is loaded when a new client connection is established. If the parameter value is updated, the new value is used for subsequent client connections.

  • custom—The conditions under which the parameter loads is unique to this parameter. See the parameter description for more information.

audio Parameters

The following table describes the configuration parameters in the [audio] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the audio registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
avsync-support string session 'auto' Determines if the clients can enable audio/video synchronization. — Allows connected clients to enable audio/video synchronization. The valid values are 'enabled', 'disabled' or 'auto' (default='auto'). If 'auto' is specified, the audio/video synchronization is enabled only on console sessions and only if accelerated video compression is available. — Available since version 2021.1-10557.
source-channels integer - DWORD (32-bit) session 2 Number of channels of the speaker device on Linux. — Sets the number of channels of the Linux speaker device. The value must be less than or equal to the number of channels supported by the device. Allowed values are: 2 (stereo), 4 (4.0 quadriphonic), 6 (5.1 surround), 8 (7.1 surround). Default value is 2 (stereo). — Available since version 2020.0-8428.

clipboard Parameters

The following table describes the configuration parameters in the [clipboard] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the clipboard registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
enabled true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether the clipboard feature should be enabled — Specifies if the clipboard feature is enabled. If the clipboard feature is disabled, users will not be able to use the clipboard remotization. Clipboard monitoring will be disabled too. — Available since version 2020.0-8428.
max-image-area integer - DWORD (32-bit) session -1 Maximum area of clipboard's image — Specifies the maximum area (number of pixels) of clipboard images that can be transferred from server to clients. If this value is missing or set to -1, no limit is enforced. — Available since version 2017.0-4334.
max-payload-size integer - DWORD (32-bit) session 20971520 Maximum size of clipboard's data — Specifies the maximum size (in bytes) of clipboard data that can be transferred from server to clients. If this value is missing, the default limit of 20 MB is enforced. — Available since version 2017.0-4334.
max-text-len integer - DWORD (32-bit) session -1 Maximum number of characters of clipboard's text — Specifies the maximum number of characters of clipboard text that can be transferred from server to clients. If this value is missing or set to -1, no limit is enforced. — Available since version 2017.0-4334.
primary-selection-copy true or false - DWORD (32-bit) session Linux: false - Windows: 0 Enables the primary selection copy from linux — Linux desktops support multiple clipboards: the generic clipboard and the primary selection. The primary selection is updated or copied when content is selected. It can then be pasted using the mouse's middle button or with the Shift+Insert key combination. When enabled, the primary selection is monitored and updates are propagated to the client. — Available since version 2019.0-7318.
primary-selection-paste true or false - DWORD (32-bit) session Linux: false - Windows: 0 Enables the primary selection pasting on linux — Linux desktops support multiple clipboards: the generic clipboard and the primary selection. The primary selection is updated or copied when content is selected. It can then be pasted using the mouse's middle button or the Shift+Insert key combination. When enabled, the client's clipboard content will be also inserted in the primary selection. — Available since version 2019.0-7318.
update-timeout integer - DWORD (32-bit) session 200 Update event notification timeout — Specifies the time in msec to wait from the last update event for sending the notification to the client. Default value 200 msec. — Available since version 2020.1-8942.

connectivity Parameters

The following table describes the configuration parameters in the [connectivity] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the connectivity registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
enable-quic-frontend true or false - DWORD (32-bit) server Linux: false - Windows: 0 Whether to enable the QUIC frontend — Specifies whether the QUIC frontend should be enabled. — Available since version 2020.2-9508.
idle-timeout integer - DWORD (32-bit) custom 60 Idle timeout — Specifies the number of minutes to wait before disconnecting idle clients. Specify 0 to never disconnect idle clients. This parameter value is read every 5 seconds. — Available since version 2017.0-4100.
idle-timeout-warning integer - DWORD (32-bit) custom 350 Idle timeout warning — Specifies the number of seconds relative to idle-timeout to wait before warning idle clients about idle timeout disconnection. Specify 0 to never warn idle clients. — Available since version 2017.4-6898.
quic-listen-endpoints string server ['0.0.0.0', '::'] Specify the endpoints over which DCV listens for incoming QUIC connections — Specifies a list of endpoints where DCV will listen for incoming QUIC connections. The endpoints can be a list of local bindable IPv4 addresses ('0.0.0.0' to wildcard all the possible addresses), or bindable IPv6 addresses ('::' to wildcard all the possible addresses) with an optional port separated by a colon (':'). For example, '1.2.3.4:5678' would listen for incoming connections on the interface associated with the '1.2.3.4' address, on port of 5678. If the port is not specified the setting in 'quic-port' will be used as a default. To specify a port with an IPv6 address, enclose the address in square brackets (e.g. '[::1]:8443'). IPv6 addresses including an explicit interface are also supported (e.g. '[::%eth1]:8443'). — Available since version 2022.0-11954.
quic-port integer - DWORD (32-bit) server 8443 UDP port for the QUIC frontend — Specifies the UDP port on which the DCV server listens for client connections. The port number must be between 1024 and 65535. See the 'quic-listen-endpoints' setting for further details on how this setting is applied. — Available since version 2020.2-9508.
web-listen-endpoints string server ['0.0.0.0', '::'] Specify the endpoints over which DCV listens for incoming web connections — Specifies a list of endpoints where DCV will listen for incoming web connections. The endpoints can be a list of local bindable IPv4 addresses ('0.0.0.0' to wildcard all the possible addresses), or bindable IPv6 addresses ('::' to wildcard all the possible addresses) with an optional port separated by a colon (':'). For example, '1.2.3.4:5678' would listen for incoming connections on the interface associated with the '1.2.3.4' address, on port of 5678. If the port is not specified the setting in 'web-port' will be used as a default. To specify a port with an IPv6 address, enclose the address in square brackets (e.g. '[::1]:8443'). IPv6 addresses including an explicit interface are also supported (e.g. '[::%eth1]:8443'). — Available since version 2022.0-11954.
web-port integer - DWORD (32-bit) server 8443 TCP port for the client — Specifies the TCP port on which the DCV server listens for client connections. The port number must be between 1024 and 65535. See the 'web-listen-endpoints' setting for further details on how this setting is applied. — Available since version 2017.0-4100.
web-root string server '' Document root for the embedded web server — Specifies the document root for the embedded web server. — Available since version 2017.0-4100.
web-url-path string server '/' URL path for the embedded web server — Specifies the URL path for the embedded web server, must start with '/'. For example, setting it to /test/foo means that the web server is reachable at https://host:port/test/foo. — Available since version 2017.0-4100.
web-use-hsts true or false - DWORD (32-bit) server Linux: true - Windows: 1 Whether to use HSTS — Enables this to force browsers to prevent any communication being sent over HTTP. All transfer to the webpage (and all subdomains) will be done using HTTPS instead. — Available since version 2017.0-4100.
ws-keepalive-interval integer - DWORD (32-bit) server 10 Websocket keepalive interval — Specifies the interval (in seconds) after which to send a keepalive message. If set to 0, the keepalive message is disabled. — Available since version 2017.0-4100.

display Parameters

The following table describes the configuration parameters in the [display] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the display registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
console-session-default-layout string session [] Default screen resolution and position for console sessions — Specifies the default screen resolution and position for console sessions. If this is set, DCV sets the requested layout at startup. Each monitor can be configured with resolution (w,h) and position (x,y). All specified monitors are enabled. Default layout example value: [{'w':<800>, 'h':<600>, 'x':<0>, 'y': <0>}, {'w':<1024>, 'h':<768>, 'x':<800>,'y':<0>}] — Available since version 2017.0-5600.
cuda-devices string connection [] CUDA devices used for stream encoding — Specifies the list of local CUDA devices which DCV uses to distribute encoding and CUDA workloads. Each device is identified by a number that can be retrieved from the nvidia-smi command. For example, cuda-devices=['0', '2'] indicates that DCV uses two GPUs, with IDs 0 and 2. This setting is similar to the CUDA_VISIBLE_DEVICES environment variable, but it only applies to DCV. If the option is not set, DCV uses an incremental session index starting from 0 to pick the next device to use. — Available since version 2017.2-6182.
enable-client-resize true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow clients to set the display layout — Specifies whether clients are allowed to set the display layout. — Available since version 2017.0-4100.
enable-qu true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to send quality updates — Specifies whether to send quality updates. — Available since version 2017.0-4100.
enable-yuv444-encoding string session 'default-off' Whether to enable YUV444 encoding — Enables or disables YUV444 encoding. If 'always-on' the server will prefer the YUV444 format that is optimized for high color accuracy. If 'always-off' the server will prefer a format that is optimized for streaming performance. The values 'default-on' and 'default-off' have the same semantics, which is to let the client decide. Allowed values: 'always-on', 'always-off', 'default-on', 'default-off'. — Available since version 2022.0.
grabber-target-fps integer - DWORD (32-bit) session 0 Target frames per second of frame grabber — Sets the upper limit to grab frames per second. A value of 0 defaults to target-fps. Not all frame capture backends honor this setting. — Available since version 2017.1-5870.
max-compressor-threads integer - DWORD (32-bit) session 4 Max compressor threads — Specifies the maximum number of compressor threads. — Available since version 2017.0-4100.
max-head-resolution string custom (4096, 2160) Max head resolution — Sets the maximum resolution of a display head requestable by the client. A display head is equivalent to a host monitor. The setting is reloaded at each client layout request. When a bigger head resolution is requested by a client, the server adjusts the resolution to make sure that it matches the maximum width and height values set by this option. — Available since version 2017.0-4100.
max-layout-area integer - DWORD (32-bit) custom 0 Max layout area in pixels — Sets the maximum area in pixels of a display layout requestable by the client. Layouts that are larger than this limit will be ignored. This maximum is meant to provide an upper bound to the amount of display data that must be sent, without providing constraints on the display layout geometry. If set to 0, no limit is applied to layout area. The setting is reloaded at each client layout request. — Available since version 2019.1-7423.
max-num-heads integer - DWORD (32-bit) custom 4 Max number of heads — Specifies the maximum number of display heads requestable by the client. A display head is equivalent to a host monitor. The setting is reloaded at each client layout request. When a greater number of heads is requested by a client, the server adjusts the number of heads so that the value does not exceed the value set by this option. — Available since version 2017.0-4100.
min-head-resolution string custom (640, 480) Min head resolution — Sets the minimum resolution of a display head requestable by the client. A display head is equivalent to a host monitor. The setting is reloaded at each client layout request. When a smaller resolution is requested by a client, the server adjusts the resolution to make sure that it matches the minimum width and height values set by this option. — Available since version 2017.0-4100.
target-fps integer - DWORD (32-bit) session -1 Target frames per second — Specifies the maximum allowed frames per second. A value of 0 means no limit. A value of -1 means that the target-fps value will be determined according to the server characteristics and the session type. With versions < 2020.2, the -1 value is not recognized and the default value is 25. — Available since version 2017.0-4100.
use-grabber-dirty-region true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to use dirty regions — Specifies whether to use dirty screen regions. If enabled, the grabber tries to compute new frames out of the dirty regions from the screen. — Available since version 2017.0-4100.
web-client-max-head-resolution string custom (1920, 1080) Max head resolution for web client — Sets the maximum resolution of a display head requestable by a web client. A display head is equivalent to a host monitor. The setting is reloaded at each client layout request. This setting is ignored in case the web client is setting the max resolution explicitly. The max-head-resolution limitations option is applied on top of the max width and height values set by this option. In case the value is set to (0, 0), it is ignored. — Available since version 2020.0-8428.

display/linux Parameters

The following table describes the configuration parameters in the [display/linux] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the display/linux registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
gl-displays string session [':0.0'] 3D accelerated X displays — Specifies the list of local 3D accelerated X displays and screens used by DCV for OpenGL rendering in virtual sessions. If this value is missing, you can't run OpenGL applications in virtual sessions. This setting is ignored for console sessions. — Available since version 2017.0-4100.
h264-encoder-displays string connection [] H.264 encoder X displays — Specifies the list of local X displays and screens that support accelerated H.264 encoding. If empty, DCV uses the same display selected for OpenGL rendering. This setting is useful only in cases when some of the GPUs installed on the system do not provide acceleration for H.264 encoding using one of the supported technologies. — Available since version 2017.0-4100.

input Parameters

The following table describes the configuration parameters in the [input] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the input registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
enable-autorepeat true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow autorepeat on Linux — Specifies whether to allow autorepeat for a single key. — Available since version 2017.2-6182.
enable-gamepad true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow gamepad input — Specifies whether gamepad is enabled. — Available since version 2022.0-11954.
enable-relative-mouse true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow relative mouse movements — Specifies whether to allow relative mouse movements. — Available since version 2017.0-5121.
enable-stylus true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow stylus input — Specifies whether a stylus is enabled. — Available since version 2019.0-7318.
enable-touch true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to allow touch input — Specifies whether touch is enabled. — Available since version 2017.3-6698.

license Parameters

The following table describes the configuration parameters in the [license] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the license registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
license-file string session '' License — Specifies a demo license file or RLM server port and hostname. If you are using a floating license on an RLM server, use this parameter to specify the RLM server's port and hostname in the port@hostname format. If you are using an extended demo license, and you have not placed the license.lic file in the default location, use this parameter to specify the full path of license.lic license file. If the default file does not exist, a demo license is used. This value is read from the configuration and updated every time a new session is created. — Available since version 2017.0-4100.

log Parameters

The following table describes the configuration parameters in the [log] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the log registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
directory string server '' Log output directory — Specifies the destination to which logs are saved. If not specified it defaults to "C:\ProgramData\NICE\DCV\log\" on Windows and to "/var/log/dcv/" on Linux. — Available since version 2017.0-4100.
level string custom 'info' Log level — Specifies the log file verbosity level. The verbosity levels (in order of the amount of detail they provide) are: 'error', 'warning', 'info', and 'debug'. The new value is effective as soon as it is changed on the configuration and propagated to the DCV agent processes. With versions <= 2019.1, the log level on the DCV agent processes is only set when they start. — Available since version 2017.0-4100.
rotate integer - DWORD (32-bit) server 10 Number of log file rotations — Specifies the number of times that log files are rotated before being removed. If the value is 0, old versions are removed rather than rotated. — Available since version 2017.0-4100.
transfer-audit string server 'none' Transfer direction to audit — Specifies which transfer direction to audit. If this parameter is enabled, a new CSV file logs transfers between the server and clients. The allowed values are: 'none', 'server-to-client', 'client-to-server', and 'all'. If this value is missing or equal to 'none', transfer audits are disabled and no file is created. — Available since version 2017.0-4100.

security Parameters

The following table describes the configuration parameters in the [security] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the security registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
allowed-http-host-regex string server '^.+$' Allowed host regular expression — Specifies a regular expression pattern representing the host names that this DCV server can serve. If the Host header of an incoming HTTP request does not match this pattern, the request itself fails with a 403 Forbidden status code. This is a security measure to prevent HTTP Host header attacks. The pattern must be a valid Javascript-like regular expression. Letters in the pattern match both uppercase and lowercase letters. Example: '^(www\.)?example\.com$'. — Available since version 2017.0-4100.
allowed-ws-origin-regex string server '^https://.+$' Allowed origins — Specifies a regular expression pattern representing the origins that this DCV server accepts. When establishing a WebSocket connection, the Origin header field in the client's handshake indicates the origin of the script establishing the connection. If the Origin header of an incoming HTTP request does not match this pattern, the request itself fails with a 403 Forbidden status code. This is a security measure to prevent cross-site WebSocket hijacking (CSWSH) attacks. The pattern must be a valid Javascript-like regular expression. Letters in the pattern match both uppercase and lowercase letters. The Origin header has the form: <scheme> "://" <host> [ ":" <port> ]. Example: '^https://(www\.)?example\.com(:443)?$'. — Available since version 2017.0-4100.
auth-connection-setup-timeout integer - DWORD (32-bit) server 120 Authentication channel connection setup timeout — Specifies the amount of time (in seconds) allowed for the authentication channel connection setup procedure to be completed before timing out. If the procedure takes more, then the channel is closed. If set to 0, the authentication channel connection setup timeout is disabled. — Available since version 2017.0-4100.
auth-token-verifier string server '' The endpoint of the authentication token verifier — Specifies the endpoint (URL) of the authentication token verifier used by the DCV server. If empty, the internal authentication token verifier is used. — Available since version 2017.0-4100.
authentication string server 'system' Authentication method — Specifies the client authentication method used by the DCV server. Use 'system' to delegate client authentication to the underlying operating system. Use 'none' to disable client authentication and grant access to all clients. — Available since version 2017.0-4100.
authentication-threshold integer - DWORD (32-bit) server 3 Authentication threshold — Specifies how many times each client can fail authentication before the connection is closed by the server. To allow unlimited authentication attempts, use 0. — Available since version 2017.0-4100.
ca-file string server '' CA file — Specifies the file containing the certificate authorities (CAs) trusted by the DCV server. If empty, use the default trust store provided by the system. — Available since version 2017.0-4100.
certificate-to-user-file string custom '' Certificate to user mapping file — Specifies the file containing the certificate to user mapping list. — Available since version 2022.0-11954.
ciphers string server 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA384' Cipher list used on the TLS connections — Specifies the cipher list used on TLS connections. The cipher list must be separated using the character ":" and must be supported by openssl and the clients. — Available since version 2017.0-4100.
connection-estab-timeout integer - DWORD (32-bit) server 5 Connection establishment timeout — Specifies the amount of time (in seconds) allowed for the connection procedure to be completed before timing out. If the procedure takes more, then the connection is closed. If set to 0, the connection establishment does not time out. — Available since version 2017.0-4100.
connection-setup-timeout integer - DWORD (32-bit) server 5 Channel connection setup timeout — Specifies the amount of time (in seconds) allowed for the channel connection setup procedure to be completed before timing out. If the procedure takes more, then the channel is closed. If set to 0, the channel connection setup does not time out. — Available since version 2017.0-4100.
crl-file string custom '' CRL file — Specifies the file containing the certificate revocation list (CRL). — Available since version 2022.0-11954.
enable-gssapi true or false - DWORD (32-bit) server Linux: false - Windows: 0 Enable GSSAPI SASL mechanism — Enables or disables GSSAPI SASL mechanism, that allows DCV authentication with kerberos. — Available since version 2017.3-6698.
max-connections-per-user integer - DWORD (32-bit) server 10 Maximum number of user's connections — Specifies the maximum number of allowed concurrent connections per user. Exceeding connections are rejected. — Available since version 2017.0-4100.
no-tls-strict true or false - DWORD (32-bit) server Linux: false - Windows: 0 Enables or disables strict certificate validation — Enables or disables strict certificate validation when connecting to an external authentication token verifier. Strict certificate validation must be disabled if the authentication token verifier uses a self-signed certificate. — Available since version 2017.0-4100.
os-auto-lock true or false - DWORD (32-bit) session Linux: true - Windows: 1 Whether to lock the OS session when last client connection ends — If enabled, the OS session is locked when the last client connection is closed. — Available since version 2017.1-5777.
pam-service-name string server 'dcv' PAM service name — Specifies the name of the PAM configuration file used by DCV. The default PAM service name is 'dcv' and corresponds with the /etc/pam.d/dcv configuration file. This parameter is only used if the 'system' authentication method is used. — Available since version 2017.0-4100.
passwd-file string server '' Password file — Specifies the password file to be used to check user credentials (only with dcv authentication mode). If empty, use the default file in ${XDG_CONFIG_HOME}/NICE/dcv/passwd for Linux, or %CSIDL_LOCAL_APPDATA%\NICE\dcv\passwd for Windows. — Available since version 2017.0-4100.
server-fqdn string server '' Server FQDN — Specifies the server fully qualified domain name. Empty means gethostname(). — Available since version 2017.3-6698.
service-name string server 'dcv' Service Name — The registered name of the service (usually the protocol name). — Available since version 2020.0-8428.
supervision-control string custom 'disabled' The type of supervision control for the sessions — Specifies the type of supervision control for the sessions. The possible values are 'disabled' and 'enforced'. If this value is set to 'enforced', then unsupervised-access permission can be set to allow or deny owner-less access of users in a collaborative session. If unsupervised-access is allowed for a user, the user can access a session without an owner. All users except the owner are denied this permission by default. When this value is set to 'disabled' (default), the server does not enforce this supervision control and permission. The new value is effective as soon as it is changed in the configuration. — Available since version 2021.3-11591.
user-realm string server '' Server user realm — Specifies a user realm for the server. — Available since version 2017.3-6698.

session-management Parameters

The following table describes the configuration parameters in the [session-management] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the session-management registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
create-session true or false - DWORD (32-bit) server Linux: false - Windows: 0 Create a console session at server startup — Specifies whether to automatically create a console session (with ID "console") at server startup. — Available since version 2017.0-4100.
enable-gl-in-virtual-sessions string session 'default-on' Whether to employ dcv-gl feature — Specifies whether to use the dcv-gl feature (a license is required). Allowed values: 'always-on', 'always-off', 'default-on', 'default-off'. — Available since version 2017.0-4100.
max-concurrent-clients integer - DWORD (32-bit) session -1 Maximum number of concurrent clients per session — Specifies the maximum number of concurrent clients per session. If set to -1, no limit is enforced. To set the limit only for the automatic session, use 'max-concurrent-clients' of section 'session-management/automatic-console-session'. — Available since version 2017.0-4100.
max-concurrent-sessions integer - DWORD (32-bit) server 0 Maximum number of concurrent sessions — Specifies the maximum number of allowed concurrent sessions. This limit currently applies only to virtual sessions, because console sessions are intrinsically limited to one. Specify 0 to not enforce any limit. — Available since version 2019.0-7318.
max-sessions-per-user integer - DWORD (32-bit) server 0 Maximum number of sessions per user — Specifies the maximum number of allowed concurrent sessions that each user can own. This limit currently applies only to virtual sessions. Specify 0 to not enforce any limit. — Available since version 2021.0-10242.
virtual-session-default-layout string session [] Default layout for virtual sessions — If this is set, Xdcv is configured to create the specified layout at startup. Each monitor can be configured with resolution (w,h) and position (x,y). All specified monitors are enabled. Default layout example value: [{'w':<800>, 'h':<600>, 'x':<0>, 'y': <0>}, {'w':<1024>, 'h':<768>, 'x':<800>, 'y':<0>}] For this setting, the maximum number of monitors (specified in the virtual-session-monitors setting) has more priority than the number of elements in the array. For example, if five monitors have been set, but the maximum number of monitors is four, only the first four monitors are created. If this key is set, the number of enabled monitors (specified in the virtual-session-monitors setting) is ignored. — Available since version 2017.0-5600.
virtual-session-font-path string session '' Whether to add special font paths — Specifies the path of special fonts. Some applications require a special font to be passed to the X server. — Available since version 2017.0-4100.
virtual-session-source-profile true or false - DWORD (32-bit) session Linux: false - Windows: 0 Whether to source the user profile in session starter — Specifies whether the shell that runs the session starter script should source the user profile. By default this is false and DCV will run the session starter script with "bash --noprofile --norc" — Available since version 2021.3-11591.
virtual-session-xdcv-args string session '' Additional arguments to pass to Xdcv — Specifies any additional arguments to be passed to Xdcv. — Available since version 2017.0-4334.

session-management/automatic-console-session Parameters

The following table describes the configuration parameters in the [session-management/automatic-console-session] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the session-management/automatic-console-session registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
max-concurrent-clients integer - DWORD (32-bit) server -1 Maximum number of concurrent clients per session — Specifies the maximum number of concurrent clients allowed per session. If set to -1, no limit is enforced. — Available since version 2017.0-5600.
owner string server '' Owner of the automatically created "console" session — Specifies the username of the "console" session owner. If empty, the owner is the user who started the DCV server. This setting is applied only to the "console" session automatically created at server startup when the create-session setting is set to true. — Available since version 2017.0-5600.
permissions-file string server '' Permissions file for the automatic "console" session — Specifies the path to the permissions file to be used to check user access to DCV features. If empty, only the owner has full access to the session. — Available since version 2017.0-5600.
storage-root string server '' Path to file storage root folder — Specifies the full path to the folder to be used for console session storage. If the storage-root is empty or the folder does not exist, file storage is disabled. — Available since version 2017.0-5600.

session-management/defaults Parameters

The following table describes the configuration parameters in the [session-management/defaults] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the session-management/defaults registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
permissions-file string session '' Default permissions included in all sessions — Specifies the path to the permissions file to be automatically merged with the permissions selected by the user for each session. If empty, use the 'default.perm' file, which is located in /etc/dcv/ for Linux, or in the DCV installation folder (for example, 'C:\Program Files\NICE\DCV\Server\conf') for Windows. — Available since version 2017.0-5600.

smartcard Parameters

The following table describes the configuration parameters in the [smartcard] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the smartcard registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
enable-cache string custom 'default-on' Whether to enable smartcard caching messages. — Enables or disables smart card caching. When enabled, the NICE DCV server caches the last value received from the client's smart card. Future calls are retrieved directly from the server's cache, instead of from client. This helps to reduce the amount of traffic that is transferred between the client and the server, and improves performance. Allowed values include 'always-on', 'always-off', 'default-on', and 'default-off'. This value is read from the configuration every time a client smartcard application is started. — Available since version 2017.2-6182.

webcam Parameters

The following table describes the configuration parameters in the [webcam] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the webcam registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
max-resolution string connection (1280, 720) Max webcam resolution — Specifies the maximum webcam resolution that is exposed to applications. — Available since version 2021.0-10242.
preferred-resolution string connection (640, 480) The preferred webcam resolution — Specifies the preferred webcam resolution among the resolutions provided by the client. If the specified resolution is not supported, the closest matching resolution is selected and exposed to applications. If one of the values specified is 0, webcam sharing is disabled. — Available since version 2021.0-10242.

windows Parameters

The following table describes the configuration parameters in the [windows] section of the /etc/dcv/dcv.conf file for Linux NICE DCV servers, and the windows registry key for Windows NICE DCV servers.

Parameter Type - Windows registry type Reload context Default value Description
disable-display-sleep true or false - DWORD (32-bit) session Linux: true - Windows: 1 Prevents display from entering power-saving mode — Specifies whether to prevent the display from entering power-saving mode. — Available since version 2017.0-4100.
printer string session 'DCV printer' Printer to be set as default — Specifies the name of the virtual DCV printer. Defaults to 'DCV printer'. The name is used to change the default printer on the system. If set to an empty string, DCV will not change the current default printer. — Available since version 2017.0-4100.