Log files can help you troubleshoot issues related to installation, display protocols, and feature components. You can create a configuration file to configure the verbosity level.

Log File Locations

Table 1. Linux Desktop Log Files
Type of Logs Directory Path
Installation /tmp/vmware-root
Horizon Agent /var/log/vmware
Horizon Agent /usr/lib/vmware/viewagent/viewagent-debug.log

Log File Configuration

To configure logging, edit the /etc/vmware/config file.

Collecting a Log Bundle

You can create a Data Collection Tool (DCT) bundle that gathers the machine's configuration information and logs into a compressed tarball. Open a command prompt in the Linux desktop and run the dct-debug.sh script.

sudo /usr/lib/vmware/viewagent/bin/dct-debug.sh

The tarball is generated in the directory from which the script was executed (the current working directory). The file name includes the operating system, timestamp, and other information, for example, ubuntu-12-vdm-sdct-20150201-0606-agent.tgz.

This command collects log files from the /tmp/vmware-root directory and the /var/log/vmware directory, and also collects the following system log and configuration files:

  • /var/log/messages*
  • /var/log/syslog*
  • /var/log/boot*.log
  • /proc/cpuinfo, /proc/meminfo, /proc/vmstat, /proc/loadavg
  • /var/log/audit/auth.log*
  • /etc/hosts
  • /etc/resolv.conf
  • /etc/nsswitch.conf
  • /var/log/Xorg*
  • /etc/X11/xorg.conf
  • Core files in /usr/lib/vmware/viewagent
  • Any crash files in /var/crash/_usr_lib_vmware_viewagent*