#horizontip - Horizon Application Manager 1.5 Tips and Tricks

Version 1

    Horizon Logs

    • Horizon Service log file: /opt/vmware/horizon/horizoninstance/logs/horizon.log
    • Horizon Connector log file (login/authentication details): /opt/vmware/c2/c2instance/logs/connector.log
    • Horizon Connector log file (Windows Sync/ThinApp repo log details): /var/log/messages
    • Horizon Agent logs folder: (Win7) %ProgramData%\HorizonAgentLogs

     

    Horizon Service/Connector Tricks and Commands

    • Time Sync: sntp –P no –r pool.ntp.org
    • Command to see the certificate details: openssl s_client -connect localhost:443
    • Enable SSH: /etc/ssh/sshd_config - change Permitrootlogin to yes and run the command /etc/init.d/sshd restart

     

    Horizon Connector Tricks and Commands

    • Connector service restart (tomcat): /etc/init.d/tcserver-c2 restart
    • To refresh the Windows Apps (ThinApp) Repository in Horizon Connector, delete the Windows Sync repo db: /var/lib/vmware/tam/repo/repodb and reboot the connector.
    • Check to make sure the CIFS share for Windows Apps has "Authenticated Users" with read-only permissions set.
    • /opt/likewise/bin/lwsm list - shows likewise services and status

     

    Horizon Agent Tricks and Commands

    • BITS (Background Intelligent Transfer Service) is required, please be sure it's not disabled.
    • Horizon agent logs folder: C:\ProgramData\HorizonAgentLogs
    • To update the Horizon ServiceURL or org:
      • Win7 64 bit - "HKLM\SOFTWARE\Wow6432Node\VMware, Inc\VMware Horizon Agent" and change the "ServiceUrl" then restart the Horizon Agent service
      • Win7 32 bit/WinXP - "HKLM\SOFTWARE\VMware, Inc\VMware Horizon Agent" and change the "ServiceUrl" then restart the Horizon Agent service
    • To change the Horizon Applications desktop shortcut location:
      • Win7/WinXP x64 - "HKLM\SOFTWARE\Wow6432Node\VMware, Inc\VMware Horizon Agent" and change the "ShortcutLocation" then restart the Horizon Agent service
      • Win7/WinXP x86 - "HKLM\SOFTWARE\VMware, Inc\VMware Horizon Agent" and change the "ShortcutLocation" then restart the Horizon Agent service
    • ThinApp download folder: C:\ProgramData\ThinAppCache
    • ThinApp shortcuts folder: C:\ProgramData\ThinAppIconCache
    • Horizon Agent/THinApp database lease
      • Win 7 32 bit - %windir%\System32\config\systemprofile\ThinAgentLease.db
      • Win 7 64 bit - %windir%\SysWOW64\config\systemprofile\ThinAgentLease.db
      • Win XP - C:\Documents and Settings\LocalService\ThinAgentLease.db