Skip to main content

April 14, 2026

Uninstall Horizon Agent From a Linux Machine

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

  1. Run the appropriate uninstallation command for your Horizon Agent installer type. Note: The commands below use the name agent-installer.el8.x86_64.rpm to 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 TypeHorizon Agent Uninstallation Command
    RPM (.rpm)
    sudo rpm -e agent-installer.rpm
    Tarball (.tar.gz)
    sudo /usr/lib/omnissa/viewagent/bin/uninstall_viewagent.sh

    The command stops the Horizon Agent processes and deletes the Horizon Agent service and software from the /usr/lib/omnissa/viewagent directory.

  2. Manually delete the Horizon Agent configuration files from the /etc/omnissa directory. For example:

    sudo rm -rf /etc/omnissa
    

Was this page helpful?

Provide feedback for this topic

Was this topic helpful?

Please do not include any personal or confidential information.

Generating link…