Installation and Setup Guide

Table Of Contents
Using the Horizon Client Command-Line Interface and Configuration
Files
You can congure Horizon Client using command-line options or equivalent properties in a conguration
le.
You can use the vmware-view command-line interface or set properties in conguration les to dene default
values your users see in Horizon Client or to suppress some dialog boxes from prompting users for
information. You can also specify seings that you do not want users to change.
Processing Order for Configuration Settings
When Horizon Client starts up, conguration seings are processed from various locations in the following
order:
1 /etc/vmware/view-default-config
2 ~/.vmware/view-preferences
3 Command-line arguments
4 /etc/vmware/view-mandatory-config
If a seing is dened in multiple locations, the value that is used is the value from the last le or command-
line option read. For example, to specify seings that override users' preferences, set properties in
the /etc/vmware/view-mandatory-config le.
To set default values that users can change, use the /etc/vmware/view-default-config le. After users
change a seing, when they exit Horizon Client, any changed seings are saved in the ~/.vmware/view-
preferences le.
Properties That Prevent Users from Changing Defaults
For many properties, you can set a corresponding view.allow property that controls whether users are
allowed to change the seing. For example, if you set the view.allowDefaultBroker property to "FALSE"
in the /etc/vmware/view-mandatory-config le, users will not be able to change the name of the server when
they connect using Horizon Client.
Syntax for Using the Command-Line Interface
Use the following form of the vmware-view command from a terminal window.
vmware-view [command-line-option [argument]] ...
By default, the vmware-view command is located in the /usr/bin directory.
You can use either the short form or the long form of the option name, although not all options have a short
form. For example, to specify the domain you can use either -d (short form) or --domainName= (long form).
You might choose to use the long form to make a script more human-readable.
You can use the --help option to get a list of command-line options and usage information.
I If you need to use a proxy, use the following syntax:
http_proxy=proxy_server_URL:port https_proxy=proxy_server_URL:port vmware-view options
This workaround is required because you must clear the environment variables that were previously set for
the proxy. If you do not perform this action, the proxy exception seing does not take eect in
Horizon Client. You congure a proxy exception for the View Connection Server instance.
VMware Horizon Client for Linux Installation and Setup Guide
28 VMware, Inc.