6.2

Table Of Contents
The -d, -u, and -p parameters specify the domain, user name, and password of the View administrator
user. In the password, be sure to escape special characters such as $. For example: ab\$cdef
If you do not type the -p parameter with the command, you are prompted to provide the password
after you enter the command. When you type the password at the prompt, the text is hidden.
By default, the hostname of the Linux machine is used to register the machine. You can specify a
different machine name with the -n parameter.
5 Type Yes to accept the EULA that is displayed when you enter the install_viewagent.sh script at the
command line.
The installer does not run until you accept the EULA.
6 Restart or log out of the guest operating system.
This step ensures that the graphics UI changes configured by View Agent take effect on the machine.
The install_viewagent.sh script installs the View Agent software on the Linux virtual machine. The script
registers the machine with View Connection Server.
The viewagent service is started on the Linux virtual machine. You can verify that the service is started by
running the #service viewagent status command.
If an Agent Registration Failed message appears, see “Troubleshooting View Agent Registration Failure
for a Linux Machine,” on page 58.
If another View Agent issue occurs, see “Troubleshooting Horizon 6 for Linux,” on page 57.
NOTE The install_viewagent.sh script installs JRE 8 in the View Agent installation
directory, /usr/lib/vmware/viewagent/jre, on the Linux virtual machine. View Agent requires JRE 8.
What to do next
Deploy the virtual machine in a desktop pool. See “Create a Desktop Pool That Contains Linux Virtual
Machines,” on page 17.
install_viewagent.sh Command Usage and Options
The install_viewagent.sh script installs View 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 13. install_viewagent.sh Mandatory Parameters
Mandatory Parameter Description
-b FQDN or IP address of the View Connection Server instance. For example:
mybroker.mydomain.com or 192.0.2.10
-d Domain name of the View Connection Server instance administrator user. For example:
mydomain.com
-u
User name of the View Connection Server administrator user. For example: myadmin
The user must have the Agent Registration Administrators or Administrators role in View
Administrator. Specifically, the Register Agent privilege is required to register View Agent
with View Connection Server. Agent Registration Administrators is a restricted role that
provides this minimum privilege.
Setting Up Horizon 6 for Linux Desktops
16 VMware, Inc.