Log files can help troubleshoot issues with installation, display protocol, and various feature components. You can create a configuration file to configure the verbosity level.

Log Location

Table 1. Linux Desktop Log Files
Type of Logs Directory Path
Installation /tmp/vmware-root
View Agent (for Horizon 6) or Horizon Agent (for Horizon 7) /var/log/vmware
View Agent (for Horizon 6) or Horizon Agent (for Horizon 7) /usr/lib/vmware/viewagent/viewagent-debug.log

Log Configuration

Edit the /etc/vmware/config file to configure logging.

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*