To uninstall View Agent on a Linux virtual machine, you use the uninstall_viewagent.sh script. You also must remove the Horizon 6 for Linux configuration files from the machine.
Procedure
- Open a terminal window on the virtual machine and run the View Agent uninstall script.
For example:
sudo /usr/lib/vmware/viewagent/bin/uninstall_viewagent.sh
The script stops View Agent processes, deletes the View Agent service, and deletes the View Agent installation directory, /usr/lib/vmware/viewagent.
- Manually delete the Horizon 6 for Linux configuration files, located in the /etc/vmware/ directory.
If you intend to reinstall View Agent (for example, to upgrade to a later View Agent version), you do not have to delete these configuration files.
delete /etc/vmware/viewagent-machine.cfg
delete /etc/vmware/viewagent-config.txt
delete /etc/vmware/jms
delete /etc/vmware/ssl