You can configure certain options by adding entries to the files /etc/vmware/config or /etc/vmware/viewagent-custom.conf.

During the installation of View Agent or Horizon Agent, the installer copies two configuration template files, template_config and template_viewagent-custom.conf, to /etc/vmware. In addition, if the files /etc/vmware/config and /etc/vmware/viewagent-custom.conf do not exist, the installer copies template-config to config and template_viewagent-custom.conf to viewagent-custom.conf. In the template files, all the configuration options are listed and documented. To set an option, simply remove the comment and change the value as appropriate.

For example, the following line in /etc/vmware/config enables the lossless PNG mode.

RemoteDisplay.alwaysLossless=TRUE

After you make configuration changes, reboot Linux for the changes to take effect.

Configuration Options in /etc/vmware/config

VMwareBlastServer and its related plug-ins use the configuration file /etc/vmware/config.

Table 1. Configuration Options in /etc/vmware/config

Option

Value

Default

Description

RemoteDisplay.alwaysLossless

TRUE or FALSE

FALSE

Graphic applications, especially graphic design applications, require pixel-exact rendering of images in the client display of a Linux desktop. You can configure a lossless PNG mode for images and video playback that are generated on a Linux desktop and rendered on the client device. This feature uses additional bandwidth between the client and the ESXi host.

mksVNCServer.useUInputButtonMapping

TRUE or FALSE

FALSE

Set this option to enable the support of a left-handed mouse on Ubuntu or RHEL 7. CentOS and RHEL 6.6 support a left-handed mouse and you do not need to set this option.

RemoteDisplay.allowAudio

TRUE or FALSE

TRUE

Set this option to disable audio out

VVC.ScRedir.Enable

TRUE or FALSE

TRUE

Set this option to disable smart card redirection.

VVC.logLevel

FATAL, ERROR, WARN, INFO, DEBUG, or TRACE

INFO

Use this option to set the log level of the VVC proxy node.

Clipboard.Direction

0, 1, 2, or 3

2

This option determines the clipboard redirection policy.

  • 0 - Disable clipboard redirection.

  • 1 - Enable clipboard redirection in both directions.

  • 2 - Enable clipboard redirection from client to remote desktop only.

  • 3 - Enable clipboard redirection from remote desktop to client only.

mksVNCServer.useXExtButtonMapping

TRUE or FALSE

FALSE

Set this option to enable or disable the support of a left-handed mouse on SLED 11 SP3.

Configuration Options in /etc/vmware/viewagent-custom.conf

Java Standalone Agent uses the configuration file /etc/vmware/viewagent-custom.conf.

Table 2. Configuration Options in /etc/vmware/viewagent-custom.conf

Option

Value

Default

Description

Subnet

NULL or network address and mask in IP address/CIDR format

NULL

Use this option to set a subnet with which the View Connection Server can connect to the Agent machine if there are more than one local IP addresses with different subnets.

You must specify the value in IP address/CIDR format. For example, Subnet=192.168.1.0/24.

NULL implies that the Linux Agent randomly selects the IP address.

SSOEnable

TRUE or FALSE

TRUE

Set this option to disable single sign-on (SSO).

SSOUserFormat

A text string

[username]

Use this option to specify the format of the login name for single sign-on. The default is the user name only. Set this option if the domain name is also required. Typically the login name is the domain name plus a special character followed by the user name. If the special character is the backslash, you must escape it with another backslash. Examples of login name formats:

  • SSOUserFormat=[domain]\\[username]

  • SSOUserFormat=[domain]+[username]

  • SSOUserFormat=[username]@[domain]

StartBlastServerTimeout

An integer

20

This option determines the amount of time, in seconds, that the VMwareBlastServer process has for initialization. If the process is not ready within this timeout value, the user's login will fail.

SSLCiphers

A text string

!aNULL:kECDH+AES:ECDH+AES:RSA+AES:@STRENGTH

Use this option to specify the list of ciphers. You must use the format that is defined in https://www.openssl.org/docs/manmaster/apps/ciphers.html.

SSLProtocols

A text string

TLSv1_1:TLSv1_2

Use this option to specify the security protocols. The supported protocols are TLSv1.0, TLSv1.1, and TLSv1.2.

SSLCipherServerPreference

TRUE or FALSE

TRUE

Use this option to enable or disable the option SSL_OP_CIPHER_SERVER_PREFERENCE. For more information, see https://www.openssl.org/docs/manmaster/ssl/SSL_CTX_set_options.html.

LogoutAfterDisconnectTimeout

An integer

2

Use this option to set the timeout value in minutes for Automatically logoff after disconnect if the login is in progress.

LogCnt

An integer

-1

Use this option to set the reserved log file count in /tmp/vmware-root.

  • -1 - keep all

  • 0 - delete all

  • > 0 - reserved log count.

Note:

The three security options, SSLCiphers, SSLProtocols, and SSLCipherServerPreference are for the VMwareBlastServer process. When starting the VMwareBlastServer process, the Java Standalone Agent passes these options as parameters. When Blast Secure Gateway (BSG) is enabled, these options affect the connection between BSG and the Linux desktop. When BSG is disabled, these options affect the connection between the client and the Linux desktop.