The install_viewagent.sh script installs Horizon Agent on a Linux guest operating system.

Use the following form of the install_viewagent.sh script in a command window in the gnome desktop environment.

install_viewagent.sh command_option argument [command_option argument] . . .

The install_viewagent.sh script includes mandatory and optional parameters.

Table 1. install_viewagent.sh Optional but Required Parameter
Optional Parameter (Required Information) Description
-A yes |no Accept or refuse the End User License Agreement (EULA) and Federal Information Processing Standards (FIPS) statement. You must specify yes for the install to proceed.
Table 2. install_viewagent.sh Optional Parameters
Optional Parameters Description
-a yes|no Install or bypass audio input redirection support. Default is yes.
-f yes|no Install or bypass support of the cryptographic modules designed for Federal Information Processing Standards (FIPS) 140-2. Default is no. For more information, see the FIPS 140-2 Mode description in Features of Horizon Linux Desktops.
-j JMS SSL keystore password. By default, installer generates a random string.
-m yes|no Install or bypass the smart card redirection support. Default is no.
-r yes|no Restart the system automatically after installation. Default is no.
-s Self signed cert subject DN. By default, installer uses Blast.
-C yes|no Install or bypass Clipboard Redirection support. Default is yes.
-F yes|no Install or bypass CDR support. Default is yes.
-M yes|no Upgrade the Linux Agent to managed or unmanaged agent. Default is yes.
-S yes|no Install or bypass Single Sign-on (SSO) support. Default is yes.
-T yes|no Install or bypass True Single Sign-on (True SSO) support. Default is no.
-U yes|no Install or bypass USB support. Default is no.
Table 3. Examples of install_viewagent.sh Parameters
Condition Examples
Fresh Installation
sudo ./install_viewagent.sh -A yes

Fresh installation always requires a new desktop pool creation.

Upgrade from an unmanaged virtual machine and retain the unmanaged virtual machine style
sudo ./install_viewagent.sh -A yes -M no

This type of upgrade does not require a new desktop pool creation. You can reuse the existing desktop pool.

Note: To ensure the best possible performance, do not use an unmanaged virtual machine.
Upgrade from an unmanaged virtual machine deployment and convert to a managed virtual machine style. The upgrade requires new desktop pool creation on broker
 sudo ./install_viewagent.sh -A yes

This type of upgrade requires a new desktop pool creation. You must delete the existing desktop pool.