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.
Horizon Agent Installer Type Horizon Agent Uninstallation Command RPM ( .rpm)For an installer file named agent-installer.el8.x86_64.rpm, example uninstall command:sudo rpm -e agent-installer.el8.x86_64.rpmTarball ( .tar.gz)Change directories to the location of the uninstall_viewagent.shfile, and then run:sudo uninstall_viewagent.shThe command stops the Horizon Agent processes and deletes the Horizon Agent service and software from the
viewagentdirectory (under the/usrfile structure). -
Manually delete the Horizon Agent configuration files that are under the
/etcdirectory.
Was this page helpful?