VMWare Horizon Client

Hello internet!

I am trying to install VMWare Horizon client for work on my laptop. I’ve been distro-hopping on it trying to find an ideal laptop distro and I have settled on openSUSE Tumbleweed. Well, I’ve been trying to download VMWare Horizon for work, and so far this is the only distro with this issue I’ve come across. I searched what I could, and I did find a similar issue (1st link) that had a python download resolution which worked for OP, but doesn’t appear to be working for me. I also attempted a tutorial site (2nd link) for a different VM Ware product just to see if it would work, and that also didn’t work for me.

The error I get is

“Failed to load GTK libraries, falling back to console. Installation was Unsuccessful”

I’ve looked into downloading GTK libraries, but I can’t find anything relevant to my situation. I could be looking in the wrong spots. I’ve also done an update to my system a couple of times out of paranoia I could have missed something, but I’m unsure what other steps I need to take to get the software downloaded. Any recommendations would be greatly appreciated, thank you!

p.s. I tried pasting the VMWare Horizon download link, but I was limited to 2 links as a new user. It can be found in a simple search for VMWare Horizon download and is available in 32 bit, 64 bit, and a tarball of which I’m using the 64 bit download.

  1. VMware Horizon Client Installation Issues - #8 by alpacafan

  2. How to Install VMware on openSUSE - SYSNETTECH Solutions

@Mando Hi and welcome to the Forum :smile:
There should be an install log down in `/tmp/vmware-root/ directory, you need to inspect that file to look for the real error information. Just installed here fine on Tumbleweed, I’m on the GNOME desktop…

I don’t have a /vmware-root/ folder showing in /tmp/, I have mostly systemd folders with a few other folders of which are mostly empty. I was able to locate a `/etc/vmware-installer-horizon/ folder which contains files named “database”, which doesn’t open, and “.cleanup” which is a text file that has no contents.

I did just download it, do you think I should try reinstalling OpenSUSE? I mean, it could have been just a one-off issue. I’m on Gnome and GTK Libraries, I thought at least, were pretty fundamental to the DE. Still quite a Novice, only other thing I can think of is trying to uninstall and reinstall GTK… just not sure if that would break the environement live if I did do that.

Is libgtk-4-1 installed?

@Mando Hi, the /tmp gets cleaned out, so if rebooted it will be gone, perform the install of the bunble again and check /tmp. Or if it just fails the install grab a screenshot of the error.

I think this is what you were asking for? The total file is quite large, but this portion seems to be the first point that something went wrong.

[2023-01-04 14:16:18,804] Failed to load GTK libraries, falling back to console.
[2023-01-04 14:16:18,814] Using UI type console
[2023-01-04 14:16:18,820] Bootstrap file was missing, but database file exists. Installer system state is corrupted. Removing /etc/vmware-installer-horizon/database and starting with an empty installer database.
[2023-01-04 14:16:18,820] Opening database file /etc/vmware-installer-horizon/database

It appears that package is installed already

‘libgtk-4-1’ is already installed.
No update candidate for ‘libgtk-4-1-4.8.3-1.1.x86_64’. The highest available version is already installed.
Resolving package dependencies…

@Mando Can you make sure you are root user (no sudo) and uninstall and install with just the console session then;

su -
....
./VMware-Horizon-Client-2209-8.7.0-20616018.x64.bundle --uninstall-product vmware-horizon-client
./VMware-Horizon-Client-2209-8.7.0-20616018.x64.bundle --console

Running the uninstall command, I get effectively the same output:

Extracting VMware Installer…done.
Failed to load GTK libraries, falling back to console.
vmware-horizon-client is not an installed product.
Available products are:

And then it’s empty and brings me back to terminal. Using the --console command also provides the same error as before when initially attempting the download.

@Mando Is python-gtk installed?

It looks like it

Loading repository data…
Reading installed packages…
‘python-gtk’ is already installed.
No update candidate for ‘python-gtk-2.24.0-22.4.x86_64’. The highest available version is already installed.
Resolving package dependencies…

@Mando So when you run the installer in console mode, when it gets to the first question, can you open a corresponding terminal (log in as root user) and tail the log eg: tail -f /tmp/vmware-root/vmware-installer-XXXX.log you should see where it’s aborting, I suspect it’s failing when reading the library cache…

This is the result:

File “/tmp/vmis.THKmrH/install/vmware-installer/vmis/core/transaction.py”, line 436, in RunThreadedTransaction
txn.Run()
File “/tmp/vmis.THKmrH/install/vmware-installer/vmis/core/transaction.py”, line 79, in Run
self.get()()
File “/tmp/vmis.THKmrH/install/vmware-installer/vmis/ui/console.py”, line 268, in Show
if (question.footer != ‘’):
AttributeError: ‘InitScriptDir’ object has no attribute ‘footer’
[2023-01-04 19:20:24,954] destination /tmp/tmp4ossem_i/.installer/2.1.0/init.py already exists, overwriting.
[2023-01-04 19:20:24,954] destination /tmp/tmp4ossem_i/.installer/2.1.0/vmware-installer.py already exists, overwriting.
[2023-01-04 19:20:24,955] self._installer: <vmis.core.errors.VMwareIn

@Mando Hi, can you delete those /tmp directories and try again.

How far does it go, here I see;

VMware-Horizon-Client-2209-8.7.0-20616018.x64.bundle --console

Extracting VMware Installer...done.
The product is ready to be installed:
	Horizon Client
	PCoIP
	USB Redirection
	Smart Card
	Real-Time Audio-Video
	SerialPort Redirection
	Scanner Redirection
	VMware Horizon(R) Virtualization Pack for Skype for Business
	Client Drive Redirection
	Multimedia Redirection (MMR)
	HTML5 Multimedia Redirection (HTML5MMR)
	VMware Integrated Printing
Press Enter to begin installation or Ctrl-C to cancel.

Installing VMware Horizon Client 8.7.0
    Configuring...
[######################################################################] 100%
Installation was successful.

Register and start installed services(s) after installation(Select
yes, the Installer will create necessary entries in your system
autostart or generate a launching script, so that the installed
service(s) can be ready before the Horizon Client starts)[yes/no]: yes

Do you want to check your system compatibilities for Horizon Client,
this Scan will NOT collect any of your data?[yes/no]: yes

Scanning 	libgpg-error.so.0
    Please wait
[######################################################################] 100%
VMware Horizon Real-Time Audio-Video
	Success
VMware Horizon SmartCard
	Success
VMware Horizon Client Drive Redirection
	Success
VMware Horizon(R) Virtualization Pack for Skype for Business
	Success
VMware Horizon Multimedia Redirection (MMR)
	Success
VMware Horizon Integrated Printing
	Success
VMware Horizon PCoIP
	Success
VMware Horizon Hosted Apps
	Success
VMware Horizon USB Redirection
	Success
VMware Horizon SerialPort Redirection
	Success
VMware Horizon Scanner Redirection
	Success
VMware Horizon Client HTML5 Multimedia Redirection
	Success
VMware Horizon Client
	Success

Deleted the temp directories and then attempted to reinstall and performed a new tail on the tmp file.

As much as I don’t want to reinstall purely because I would like there to be a record in case someone else has this problem, I’m thinking I might have done something after my install that is causing this issue. It’s still relatively fresh, so I wouldn’t be negatively impacted. I’m thinking this is some kind of one off weird scenario.

sudo ./VMware-Horizon-Client-2209-8.7.0-20616018.x64.bundle --console
[sudo] password for root:
Extracting VMware Installer…done.
[######################################################################] 100%
Installation was unsuccessful.

Here is the tail of this install

/tmp/vmware-root> tail -f /tmp/vmware-root/vmware-installer-12200.log
File “/tmp/vmis.dKcG6E/install/vmware-installer/vmis/core/transaction.py”, line 436, in RunThreadedTransaction
txn.Run()
File “/tmp/vmis.dKcG6E/install/vmware-installer/vmis/core/transaction.py”, line 79, in Run
self.get()()
File “/tmp/vmis.dKcG6E/install/vmware-installer/vmis/ui/console.py”, line 268, in Show
if (question.footer != ‘’):
AttributeError: ‘InitScriptDir’ object has no attribute ‘footer’
[2023-01-05 10:18:20,751] destination /tmp/tmpbnv94u01/.installer/2.1.0/init.py already exists, overwriting.
[2023-01-05 10:18:20,751] destination /tmp/tmpbnv94u01/.installer/2.1.0/vmware-installer.py already exists, >overwriting.

@Mando it is a bit strange, can you think what you may have done?

The only things I’ve done that might be weird are I did a few install and uninstalls of Gnome Extensions. Which now that I’m thinking of it, might have messed around with GTK items. I just tried to disable them and see if that would help, and it didn’t immediately. I’ll try troubleshooting around the Gnome extensions before I reinstall, do a couple reboots, see if that works. I’ll report back if anything changes.

So I installed a fresh download, I also reinstalled the ISO file to the flash drive. Each time I got similar issues.

The error is similar but seems to not include the GTK mention.

Install:

Extracting VMware Installer…done.
[######################################################################] 100%
Installation was unsuccessful.

The result of tail is similar as well with the same lines being provided as potential issue.

Tail:

File “/tmp/vmis.6HWLZF/install/vmware-installer/vmis/core/transaction.py”, line 436, in RunThreadedTransaction
txn.Run()
File “/tmp/vmis.6HWLZF/install/vmware-installer/vmis/core/transaction.py”, line 79, in Run
self.get()()
File “/tmp/vmis.6HWLZF/install/vmware-installer/vmis/ui/console.py”, line 268, in Show
if (question.footer != ‘’):
AttributeError: ‘InitScriptDir’ object has no attribute ‘footer’
[2023-01-05 12:23:21,552] destination /tmp/tmpj58ahahs/.installer/2.1.0/init.py already exists, overwriting.
[2023-01-05 12:23:21,552] destination /tmp/tmpj58ahahs/.installer/2.1.0/vmware-installer.py already exists, overwriting.
[2023-01-05 12:23:21,553] self._installer: <vmis.core.errors.VMwareInstaller object at 0x7fc5212efbe0>

I don’t think I mentioned it but here are my specs as well. It’s basically an 11th gen Framework laptop, nothing crazy.

OS: openSUSE Tumbleweed
Host: Laptop AA
Kernel: 6.1.2-1-default
Uptime: 25 mins
Packages: 1998 (rpm)
Shell: bash 5.2.15
Resolution: 2256x1504
DE: GNOME 43.2
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: gnome-terminal
CPU: 11th Gen Intel i5-1
GPU: Intel TigerLake-LP
Memory: 1680MiB

I think I might know part of the problem, there is something wrong within the rolling release of tumbleweed. I installed Tumbleweed on a VM and had the same issue. I installed Leap on a VM and VM Ware Horizon installs with no problems the first time.

Is there any way to get a slightly older Kernal release of Tumbleweed by chance? I have no idea where to get it. I think the website just has the most recent version.

Edit: This is Leap 15.4