Setting Up for Linux Desktops

Table Of Contents
How to Perform Power Operations on Linux Desktops from vSphere
Occasionally, it might be necessary to perform power operations on Linux desktops from vSphere.
Do not use the operations Power Off or Reset because they might cause a loss of data or Horizon Agent
might not restart properly. Instead, use the operations Shut Down Guest or Restart Guest.
Gather Information About Horizon 7 for Linux Software
To help manage and troubleshoot the Horizon 7 for Linux software, you can gather information about a
Horizon Agent installation on a Linux virtual machine.
Procedure
n
Identify the Horizon Agent version that is running on a Linux machine.
Run the following command:
cat /usr/lib/vmware/viewagent/Product.txt
The output displays the Horizon Agent version. For example:
VMware-viewagent-linux-x.x-yyyyyyy
where x.x is the product version and yyyyyyy is the build number.
n
Gather information about Horizon Agent software.
Files Location
Horizon Agent installation directory
/usr/lib/vmware/viewagent
Logs
/var/log/vmware/
Horizon Agent configuration
/etc/vmware/viewagent-config.txt
Machine configuration
/etc/vmware/viewagent-machine.cfg
n
Stop, start, or restart the Horizon Agent service.
A Horizon Agent service with these operations is provided on the Linux distributions. For example, on
Ubuntu 12.04, you can run the following command:
sudo service viewagent <stop/start/restart>
Setting Up Horizon 7 for Linux Desktops
50 VMware, Inc.