6.2

Table Of Contents
As a workaround, you can manually add the View Connection Server FQDNs to the /etc/hosts file on
the Linux machine. However, this method is not recommended for production use. The proper solution
is to configure the DNS service so that the Linux machine can resolve the View Connection Server
FQDNs.
After you take these steps, ping the View Connection Server hostnames to verify that they can be
resolved. For example:
ping sm-15q1-broker.myDomain.com
4 If the problem continues, make sure that the system hostname of the Linux machine is resolvable.
For example, on CentOS you might take the following steps:
a Open a terminal window and run the hostname command.
The machine's hostname is displayed.
b Open the etc/hosts file and add the hostname.
su
nano /etc/hosts
# Add the hostname:
127.0.0.1 <your hostname>
c Ping the hostname to verify that it can be resolved.
ping <your hostname>
NOTE If you specify the DNS server on the Linux machine by manually editing the /etc/resolv.conf file,
the setting might become lost in some Linux distributions. The setting is preserved if you specify the DNS
server in the /etc/hosts file. For complete instructions for configuring DNS and the hostname, consult the
documentation for your Linux distribution and release.
Troubleshooting View Agent on a Linux Machine That Is Not Responding
View Agent that is installed on a Linux virtual machine is not responding.
Problem
The Horizon 6 for Linux desktop is not accessible, and View Agent is not responding.
Cause
The View Agent service might not be running, or the X session might not be active on the Linux machine.
Solution
1 On the Linux virtual machine, open a terminal window and stop and restart the View Agent service.
sudo service viewagent <stop/start/restart>
2 Verify that the X session is active.
ps –A | grep X
3 Install the X11 Simple VNC server on the virtual machine and verify that the X session is active over
VNC.
Setting Up Horizon 6 for Linux Desktops
60 VMware, Inc.