To uninstall Horizon Agent from a Linux machine, you must uninstall the Horizon Agent service and software and remove certain configuration files.
Prerequisites
-
Verify that the BlastServer process is not running. To stop this process, use one of the following methods:
-
Ensure that the user logs out from the machine and no desktop session is active.
-
Restart the machine.
-
-
If you plan to remove Horizon Agent from a virtual machine, open a Terminal window. You can run the Horizon Agent uninstallation commands from the Terminal.
-
If you plan to remove Horizon Agent from a physical host machine, open a Secure Shell (SSH) connection to the machine. SSH is the recommended method for running Horizon Agent uninstallation commands on a physical machine.
Procedure
-
Run the appropriate uninstallation command for your Horizon Agent installer type. Note: The commands below use the name
agent-installer.el8.x86_64.rpmto refer to the agent installer file name. Substitute the file name of the specific Horizon Agent for Linux RPM installer you have.Horizon Agent Installer Type Horizon Agent Uninstallation Command RPM ( .rpm)sudo rpm -e agent-installer.rpmTarball ( .tar.gz)sudo /usr/lib/omnissa/viewagent/bin/uninstall_viewagent.shThe command stops the Horizon Agent processes and deletes the Horizon Agent service and software from the
/usr/lib/omnissa/viewagentdirectory. -
Manually delete the Horizon Agent configuration files from the
/etc/omnissadirectory. For example:sudo rm -rf /etc/omnissa
Was this page helpful?