Install VMware Horizon Client (VMware View) on Ubuntu



If like me, you had issues with VMware horizon client package on your Ubuntu desktop, here are my tips.

Step 1 : download the installation package

https://my.vmware.com/en/web/vmware/info/slug/desktop_end_user_computing/vmware_horizon_clients/4_0#linux

Step 2 : make it executable and run it

chmod +x VMware-Horizon-Client-*******.x64.bundle
sudo ./VMware-Horizon-Client-*******.x64.bundle

This will install files but it's not runnable because you need some libs.

Step 3 : find and fix libs not found

To view needed libs, run : ldd /usr/lib/vmware/view/bin/vmware-view

Results is something like :
linux-vdso.so.1 =>  (0x00007ffdb45e6000)
libatk-1.0.so.0 => /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0 (0x00007fcb631a6000)
libgdk_pixbuf-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0 (0x00007fcb62f84000)
libgtk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0 (0x00007fcb62938000)
libgdk-x11-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0 (0x00007fcb62683000)
libgio-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 (0x00007fcb622ee000)
libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007fcb620ea000)
libpixman-1.so.0 => /usr/lib/x86_64-linux-gnu/libpixman-1.so.0 (0x00007fcb61e42000)
libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007fcb61c1d000)
libXss.so.1 => /usr/lib/x86_64-linux-gnu/libXss.so.1 (0x00007fcb61a19000)
libudev.so.0 => /lib/x86_64-linux-gnu/libudev.so.0 (0x00007fcb619f8000)
libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007fcb616e5000)
libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007fcb61490000)


For some not found libs, you should fix this with a symbolic link such as :

sudo ln -s /lib/x86_64-linux-gnu/libudev.so.1.6.5 /lib/x86_64-linux-gnu/libudev.so.0
sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.2
sudo ln -s /lib/x86_64-linux-gnu/libcrypto.so.1.0.0 /lib/x86_64-linux-gnu/libcrypto.so.1.0.2

For libpng12.so.0, I fixed it by installing an extra package :

wget http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb && sudo dpkg --install libpng12-0_1.2.54-1ubuntu1_amd64.deb 

Then, you should run and enjoy vmware-view :)