Setting Up for Linux Desktops

Table Of Contents
Your broker admin password: *******
Type the View Connection Server Admin user domain name: domain1
Install the Smartcard redirection feature ("yes" or "no"): no
AD address for Kerberos authentication to register. Please type Enter to skip for MD5 Digest:
10.117.45.1
After the script completes, you can log in to View Administrator and view the Linux desktop machines by
navigating to View Configuration > Registered Machines and clicking the Others tab.
Sample Script to Install Horizon Agent on Linux Virtual Machines
Using SSH
You can customize and use the following sample script to install Horizon Agent on multiple Linux virtual
machines (VMs). This script uses SSH to run commands on the Linux VMs.
Before you run the script, make sure that Horizon Agent is not already installed on the VMs.
To copy and paste the script content without page breaks, use the HTML version of this topic, available
from the Horizon 7 documentation page at https://www.vmware.com/support/pubs/view_pubs.html.
Script Input
This script reads one input file, which is described in “Input File for the Sample PowerCLI Scripts to Deploy
Linux Desktops,” on page 54. This script also interactively asks for the following information:
n
Acceptance of Horizon Agent EULA (end user license agreement)
n
IP address of the vCenter Server
n
Administrator login name for the vCenter Server
n
Administrator password for the vCenter Server
n
User login name for the Linux VM
n
User password for the Linux VM
n
Horizon Agent tar ball path
n
IP address of View Connection Server
n
Administrator login name for View Connection Server
n
Administrator password for View Connection Server
n
Domain name of the View Connection Server administrator
n
The AD server's address if Kerberos is the authentication method for Horizon Agent to register the
Linux machine with View Connection Server.
Script Content
<#
Install Linux Agent via SSH
The Tool is to upload the Linux Agent installer tar ball to destination VMs and do the
installation.
#>
#------------------------- Functions -------------------------
function GetInput
{
Param($prompt, $IsPassword = $false)
Setting Up Horizon 7 for Linux Desktops
70 VMware, Inc.