VMware Horizon Community
ismailhussain22
Contributor
Contributor
Jump to solution

Horizon client- Ubuntu 22.04 - Installation was unsuccessful

Dear community members,

Good Day 🙂

I am trying to install VMware-Horizon-Client-2203-8.5.0-19586897.x64 in Ubuntu 22.04 LTS but installation was unsuccessful.  

However, VMware-Horizon-Client-2203 works fine with Ubuntu 20.04. Is there any work around to install in Ubuntu 22.04.

Attached the log and screenshot. 

I tried to create a virtual python 3.9 environment to install Horizon client but still same problem.

With Thanks,

Ismail

 

 

 

1 Solution

Accepted Solutions
_countdorkula
Contributor
Contributor
Jump to solution

It sounds like the same issue as referenced here:

https://www.reddit.com/r/Fedora/comments/qrntli/tip_to_those_who_need_to_use_vmware_horizon/

I just confirmed, If you install python2 the horizon client will install.

sudo apt install python2

Then install the horizon client

View solution in original post

8 Replies
addineen
Contributor
Contributor
Jump to solution

I'm having the same issue, it seems 22.04 is not on the list of supported versions unfortunately. Anyone know when this might change?

shady321
Contributor
Contributor
Jump to solution

Same issue here.

Does anyone have a fix for this yet?

0 Kudos
Jeffmontgomery
Contributor
Contributor
Jump to solution

Same issue

0 Kudos
_countdorkula
Contributor
Contributor
Jump to solution

It sounds like the same issue as referenced here:

https://www.reddit.com/r/Fedora/comments/qrntli/tip_to_those_who_need_to_use_vmware_horizon/

I just confirmed, If you install python2 the horizon client will install.

sudo apt install python2

Then install the horizon client

ismailhussain22
Contributor
Contributor
Jump to solution

Hi, 

I followed same steps as mentioned in reddit post.. And it works.

Both python 3.9 and python 2 works..

As simple suggested by "Countdorkula"

1.sudo apt install python2

2.sudo sh ./VMware-Horizon-Client-2203-8.5.0-19586897.x64.bundle

3. Accept the agreement.. ...around 14.23

4. "Yes" for all options

5. Done.

 

 

 

Thanks,

Ismail

mike987
Contributor
Contributor
Jump to solution

unfortunately not in my case

14.21. Replace Section 13.23 (“VMware,” “We,” or “Us”) with the
following:
“‘VMware,’ ‘We,’ or ‘Us’ means VMware, Inc., a Delaware
corporation.”

Do you agree? [yes/no]: yes

The product is ready to be installed:
Media Optimization for Microsoft Teams
PCoIP
Horizon Client
Press Enter to begin installation or Ctrl-C to cancel.

Traceback (most recent call last):
File "/usr/lib/python2.7/logging/handlers.py", line 76, in emit
if self.shouldRollover(record):
File "/usr/lib/python2.7/logging/handlers.py", line 156, in shouldRollover
msg = "%s\n" % self.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 741, in format
return fmt.format(record)
File "/usr/lib/python2.7/logging/__init__.py", line 476, in format
raise e
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 26: ordinal not in range(128)
Logged from file shell.py, line 159
Rolling back VMware Installer 2.1.0
Deconfiguring...
[# ] 2%

[######################################################################] 100%
Installation was unsuccessful.

0 Kudos
adlerhn
Contributor
Contributor
Jump to solution

There is no option to install python3.9 on Ubuntu 22.04. I've tried both python3.10 and python2 solutions above and the install script fails silently. On the error log I can see:

[2022-05-19 19:23:18,862] Rollback failed
Traceback (most recent call last):
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/transaction.py", line 456, in RunThreadedTransaction
txn.Execute(actions)
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/transaction.py", line 218, in Execute
u.Load(self.temp) # Up to load to create the connection and set up a remote component.
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/install.py", line 118, in Load
self.component.installDir)
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/component.py", line 215, in _getInstallDir
return CONFDIR.joinpath('components').joinpath(self.name).joinpath(self.version)
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/files.py", line 97, in __getattr__
if func and isinstance(func, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/transaction.py", line 507, in RunThreadedTransaction
txn.Execute(ActionsFromComponents(resolveResults))
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/transaction.py", line 218, in Execute
u.Load(self.temp) # Up to load to create the connection and set up a remote component.
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/install.py", line 118, in Load
self.component.installDir)
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/component.py", line 215, in _getInstallDir
return CONFDIR.joinpath('components').joinpath(self.name).joinpath(self.version)
File "/tmp/vmis.vxXBh8/install/vmware-installer/vmis/core/files.py", line 97, in __getattr__
if func and isinstance(func, collections.Callable):
AttributeError: module 'collections' has no attribute 'Callable'

0 Kudos
BluMoon777
Contributor
Contributor
Jump to solution

Thanks, installing python 2 got it working for me on 22.04. I also made sure to install libudev0 as mentioned in the software requirements. 

0 Kudos