For work, I need the Horizon VMware Client. Said client comes as a .run file. I’ve tried installing it using toolbox, but I’m afraid I don’t know enough about toolbox yet - and I’m running into issues (I’m guessing because X isn’t installed inside a container?).
I guess it is important to note that VMware horizon client is not used for running virtual machines, but rather to access virtual installations elsewhere.
So far, I’ve tried the following:
$ toolbox create
$ toolbox enter
$ wget https://download3.vmware.com/software/view/viewclients/CART22FH2/VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle
$ chmod +x VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle
$ sudo ./VMware-Horizon-Client-2111-8.4.0-18957622.x64.bundle
Extracting VMware Installer...done.
Unable to load gtk: No module named 'gi', falling back to console.
You must accept the VMware Horizon Client End User License Agreement
to continue. Press Enter to proceed.
Do you agree? [yes/no]: yes
[######################################################################] 100%
Installation was unsuccessful.
If anyone has some pointers on how to properly install .run or .bundle files inside toolbox, that’d really appreciated.
I think you are performing the correct things.
I don’t think it is something related to the graphical environment.
Look at the installation logs /tmp/vmware-root/vmware-installer-*
Thanks for your replies! I did just remember that the vmware horizon installation on Fedora 35 requires a bit of a workaround, but that sadly didn’t resolve the issue either. I’ve installed python3-gobject and gtk3, but the gi module error remains.
I did however manage to find why VMware Horizon won’t install:
[2021-12-20 15:55:18,144] self._installer: <vmis.core.errors.VMwareInstaller object at 0x7f9ae4f315e0>
[2021-12-20 15:55:18,146] No init script directory was able to be located
[2021-12-20 15:55:21,832] Top level exception handler
Traceback (most recent call last):
File "/tmp/vmis.8f12rA/install/vmware-installer/vmis/core/transaction.py", line 458, in RunThreadedTransaction
txn.Run()
File "/tmp/vmis.8f12rA/install/vmware-installer/vmis/core/transaction.py", line 80, in Run
self.get()()
File "/tmp/vmis.8f12rA/install/vmware-installer/vmis/ui/console.py", line 277, in Show
if (question.footer != ''):
AttributeError: 'InitScriptDir' object has no attribute 'footer'
After creating /etc/init.d inside the toolbox container, the installation continued just fine. However, now the application won’t start:
⬢[jeffrey@toolbox ~]$ vmware-view
/usr/bin/vmware-view: line 116: /usr/lib/vmware/view/env/env_utils.sh: No such file or directory
/usr/bin/vmware-view: line 95: is_glibcxx_compatible: command not found
/usr/bin/vmware-view: line 95: [: ==: unary operator expected
File not exists:/usr/lib/vmware/view/bin/vmware-view
I managed to get this working a while back, but never got around to actually posting the solution. I just tried this on Fedora Silverblue 37 and it works well. Steps to install are:
Disclaimer
I’ve only done the installation in a VM and not properly tested actual use of it. It will start under Wayland and X11.
Create a toolbox
toolbox create
toolbox enter
Install dependencies
sudo dnf install python3-gobject gtk3 libstd++
Download VMware Horizon Agent
Adjust below URL according to the latest version of VMware Horizon Client