You can use the Horizon Client log collection script to gather client logs from various locations and package them into a single log file for troubleshooting. To run the log collection script from the command-line terminal, you must have "execute" permission on the Linux client system.

Most Linux-based thin clients typically store Horizon Client logs in one or more of the following locations:
  • /tmp/vmware-<user>
  • /tmp/teradici-<user>
  • /tmp/vmware-root

The log collection script compiles the client logs into a package file named horizon-log.tar.gz by default.

Procedure

  1. Ensure that you have "execute" permission to the log collection script on the Linux client system. In the command-line terminal, run the following command:
    sudo chmod +x /usr/bin/vmware-view-log-collector
  2. To start the log collection script, run the following command:
    sudo /usr/bin/vmware-view-log-collector
    By default, the script finds the latest log files generated by Horizon Client and compiles them into a package file named horizon-log.tar.gz, located in the folder from which you ran the script.
    To customize the name and location of the package file, you can run a command that resembles one of the following examples:
    sudo /usr/bin/vmware-view-log-collector abc.tar.gz
    
    sudo /usr/bin/vmware-view-log-collector /home/user/Downloads/abc.tar.gz
    • The first example compiles client logs into a package file named abc.tar.gz in the folder from which you ran the script.
    • The second example compiles client logs into a package file named abc.tar.gz in the /home/user/Downloads/ folder.