Results 1 to 7 of 7

Thread: VMware Horizon Client Installation Issues

  1. #1

    Default VMware Horizon Client Installation Issues

    I'm assembling a new workstation and after a little research I've decided to leave Xubuntu for openSUSE! I have only one requirement though: I need to be able to run VMware Horizon Client to log into my Windows 10 machine at work 2 days a week. Security is pretty heavy at this job so there's no way around it.

    I downloaded Tumbleweed and installed it in VirtualBox (still waiting on my new workstation parts to show up) and so far I love it. I'd rather go with the rolling release distro since I've never used one and I like the idea of going more bleeding edge. Here's the problem: I can't get the Horizon Client installer to run properly. This seems to be a problem with rolling releases in general as I was experimenting with Manjaro briefly and ran into the same issue.

    I asked around in the VMware forum but haven't heard anything yet, although I think this community may have a better idea of how I can fix this.

    I meet all the requirements laid out here https://docs.vmware.com/en/VMware-Ho...3-202BD683408F

    I tried downloading and installing all versions available here: https://my.vmware.com/web/vmware/det...9FQ4_LIN64_410.

    Here's the output for each version I downloaded when I attempted to run each installation bundle -

    # 4.10.0, 4.9.0, 4.8.0, 4.7.0, 4.6.0, 4.5.0, 4.4.0, 4.3.0, 4.2.0
    Code:
    Extracting VMware Installer...done.
    Traceback (most recent call last):
      File "/tmp/vmis.1fH5UN/install/vmware-installer/vmware-installer.py", line 13, in <module>
        from xml import etree
    ImportError: No module named xml
    # 4.1.0, 4.0.1, 4.0.0
    Code:
    Extracting VMware Installer...done.
    /tmp/vmis.gqOfQn/install/vmware-installer/python/pygtk/gtk/__init__.py:69: GtkWarning: could not open display
      warnings.warn(str(e), _gtk.Warning)
    User interface initialization failed.  Exiting.  Check the log for details.

    The errors from 4.2.0 - 4.10.0 don't produce any vmware error logs but 4.0.0 - 4.1.0 produce the following two every time:

    # /tmp/vmware-root/vmware-vmis-xxxxx.log
    Code:
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Log for VMware Workstation pid=10354 version=e.x.p build=build-5378951 option=BETA
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: The process is 64-bit.
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Host is Linux 4.20.6-1-default openSUSE Tumbleweed
    2019-02-10T21:40:14.860-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
    2019-02-10T21:40:14.860-06:00| vthread-4| I125: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Unable to check permissions for preferences file.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Failed to load user preferences.

    # /tmp/vmware-root/vmware-installer-xxxxx.log
    Code:
    [2019-02-10 21:40:15,140] 
    [2019-02-10 21:40:15,141] 
    [2019-02-10 21:40:15,141] Installer running.
    [2019-02-10 21:40:15,141] Command Line Arguments:
    [2019-02-10 21:40:15,141] ['/tmp/vmis.0S124r/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '/tmp/vmis.0S124r/install/vmware-installer/lib/libconf', '--install-component', '/tmp/vmis.0S124r/install/vmware-installer', '--install-bundle', '/home/swhitmore/Downloads/./VMware-Horizon-Client-4.0.0-3617666.x64.bundle', '']
    [2019-02-10 21:40:15,299] Unable to initialize gtk: could not open display
    [2019-02-10 21:40:15,300] Could not set up curses...  Falling back on null term type.
    [2019-02-10 21:40:15,306] UI Initialization failed.
    Traceback (most recent call last):
      File "/tmp/vmis.0S124r/install/vmware-installer/vmware-installer.py", line 289, in main
        ui.Initialize(options.ui)
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/__init__.py", line 83, in Initialize
        exec 'from vmis.ui.null import *' in globals()
      File "<string>", line 1, in <module>
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/null.py", line 13, in <module>
        from vmis.ui import console
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/console.py", line 9, in <module>
        import curses
      File "/tmp/vmis.0S124r/install/vmware-installer/python/lib27/curses/__init__.py", line 15, in <module>
        from _curses import *
    ImportError: libncurses.so.5: cannot open shared object file: No such file or directory
    Any ideas on where to go from here? Maybe I should stick to the stability of Leap but I figured if I was going to try a rolling release distro now would be the time. I downloaded Leap 15 and ran it in VirtualBox. I was able to install Horizon Client and run it without issue.

    Thanks in advance for your time and regardless of the outcome of this investigation I'm excited to join the openSUSE community!

  2. #2
    Join Date
    Jan 2017
    Location
    Nürnberg, Germany
    Posts
    102

    Default Re: VMware Horizon Client Installation Issues

    Quote Originally Posted by skittlydoroos View Post
    Code:
    GtkWarning: could not open display
    I get this error whenever I am logged in as an unprivileged standard user and then wanting to start a graphical program as root, e.g.
    Code:
    ~ ▶ sudo -i
    [sudo] password for root: 
    :~ # xeyes
    Error: Can't open display:
    My workaround: as root, issue this compound command…
    Code:
    cp /home/LOGGED_IN_USER/.Xauthority /root/; export DISPLAY=:0.0
    … This copies the permission for using the active user’s X server to your root-home directory and tells toolkits the screen number via the DISPLAY environment variable.
    Obviously, insert your username for LOGGED_IN_USER and modify the »:0.0« if you have a multi-display setup.

    I don’t know about those other error messages (maybe check whether libxml2, python-curses and python3-curses are installed), but hopefully your VMware installer will show its GUI that way.

    (In the 1990 I used to do these kinds of permission transfers with the xhost command, e.g. »xhost +root«, but it stopped working for me when Xorg hardened their security, a good thing overall I'm sure.)

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,341
    Blog Entries
    14

    Default Re: VMware Horizon Client Installation Issues

    Looks like you need libncurses5, it's installed on my system.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,295
    Blog Entries
    1

    Default Re: VMware Horizon Client Installation Issues

    Post commands with your results.
    When you post only results, we're left guessing what command you executed.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  5. #5
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,295
    Blog Entries
    1

    Default Re: VMware Horizon Client Installation Issues

    Quote Originally Posted by skittlydoroos View Post
    I'm assembling a new workstation and after a little research I've decided to leave Xubuntu for openSUSE! I have only one requirement though: I need to be able to run VMware Horizon Client to log into my Windows 10 machine at work 2 days a week. Security is pretty heavy at this job so there's no way around it.

    I downloaded Tumbleweed and installed it in VirtualBox (still waiting on my new workstation parts to show up) and so far I love it. I'd rather go with the rolling release distro since I've never used one and I like the idea of going more bleeding edge. Here's the problem: I can't get the Horizon Client installer to run properly. This seems to be a problem with rolling releases in general as I was experimenting with Manjaro briefly and ran into the same issue.

    I asked around in the VMware forum but haven't heard anything yet, although I think this community may have a better idea of how I can fix this.

    I meet all the requirements laid out here https://docs.vmware.com/en/VMware-Ho...3-202BD683408F

    I tried downloading and installing all versions available here: https://my.vmware.com/web/vmware/det...9FQ4_LIN64_410.

    Here's the output for each version I downloaded when I attempted to run each installation bundle -

    # 4.10.0, 4.9.0, 4.8.0, 4.7.0, 4.6.0, 4.5.0, 4.4.0, 4.3.0, 4.2.0
    Code:
    Extracting VMware Installer...done.
    Traceback (most recent call last):
      File "/tmp/vmis.1fH5UN/install/vmware-installer/vmware-installer.py", line 13, in <module>
        from xml import etree
    ImportError: No module named xml
    The error is telling you the file to look into the file and the line (vmware-install.py, line 13). Apparently modules with xml in the name are expected. So, the question is whether those files exist somewhere else on your system or should be in the extracted files(IMO likely) or needs to be compiled (If xml is only in the name but the modules are compiled, then you likely have a compiling error)


    Quote Originally Posted by skittlydoroos View Post

    # 4.1.0, 4.0.1, 4.0.0
    Code:
    Extracting VMware Installer...done.
    /tmp/vmis.gqOfQn/install/vmware-installer/python/pygtk/gtk/__init__.py:69: GtkWarning: could not open display
      warnings.warn(str(e), _gtk.Warning)
    User interface initialization failed.  Exiting.  Check the log for details.
    Might be a permissions problem as @nix11 suggests. Can also be an unsupported GTK version, or something else like the missing library file (This is what Knurpht saw in your post).
    As the error suggests, you need to inspect the vmware install log for verbose info.


    Quote Originally Posted by skittlydoroos View Post

    The errors from 4.2.0 - 4.10.0 don't produce any vmware error logs but 4.0.0 - 4.1.0 produce the following two every time:

    # /tmp/vmware-root/vmware-vmis-xxxxx.log
    Code:
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Log for VMware Workstation pid=10354 version=e.x.p build=build-5378951 option=BETA
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: The process is 64-bit.
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
    2019-02-10T21:40:14.862-06:00| vthread-4| I125: Host is Linux 4.20.6-1-default openSUSE Tumbleweed
    2019-02-10T21:40:14.860-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/etc/vmware/config": No such file or directory.
    2019-02-10T21:40:14.860-06:00| vthread-4| I125: PREF Optional preferences file not found at /etc/vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/config": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Unable to check permissions for preferences file.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
    2019-02-10T21:40:14.861-06:00| vthread-4| I125: PREF Failed to load user preferences.
    The above is a VMware Workstation log, which might not be correct. You're installing Horizon, right? - So I don't know that Horizon install errors should show up in your workstation logs (And, I assume you already have Workstation installed). I'm pretty sure these errors refer to something else, I'm guessing you still have a Guest listed but the files for that Guest have been deleted or moved. Ordinarily when this happens, Workstation in GUI mode should prompt you to remove the Guest entry if the files aren't found (but the attempt(s) will still show up in your Workstation logs.


    Quote Originally Posted by skittlydoroos View Post

    # /tmp/vmware-root/vmware-installer-xxxxx.log
    Code:
    [2019-02-10 21:40:15,140] 
    [2019-02-10 21:40:15,141] 
    [2019-02-10 21:40:15,141] Installer running.
    [2019-02-10 21:40:15,141] Command Line Arguments:
    [2019-02-10 21:40:15,141] ['/tmp/vmis.0S124r/install/vmware-installer/vmware-installer.py', '--set-setting', 'vmware-installer', 'libconf', '/tmp/vmis.0S124r/install/vmware-installer/lib/libconf', '--install-component', '/tmp/vmis.0S124r/install/vmware-installer', '--install-bundle', '/home/swhitmore/Downloads/./VMware-Horizon-Client-4.0.0-3617666.x64.bundle', '']
    [2019-02-10 21:40:15,299] Unable to initialize gtk: could not open display
    [2019-02-10 21:40:15,300] Could not set up curses...  Falling back on null term type.
    [2019-02-10 21:40:15,306] UI Initialization failed.
    Traceback (most recent call last):
      File "/tmp/vmis.0S124r/install/vmware-installer/vmware-installer.py", line 289, in main
        ui.Initialize(options.ui)
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/__init__.py", line 83, in Initialize
        exec 'from vmis.ui.null import *' in globals()
      File "<string>", line 1, in <module>
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/null.py", line 13, in <module>
        from vmis.ui import console
      File "/tmp/vmis.0S124r/install/vmware-installer/vmis/ui/console.py", line 9, in <module>
        import curses
      File "/tmp/vmis.0S124r/install/vmware-installer/python/lib27/curses/__init__.py", line 15, in <module>
        from _curses import *
    ImportError: libncurses.so.5: cannot open shared object file: No such file or directory
    As Knurpht says, you need to have an ncurses library file installed.
    You may also need to install in a root console if you're not already doing so.


    Quote Originally Posted by skittlydoroos View Post

    Any ideas on where to go from here? Maybe I should stick to the stability of Leap but I figured if I was going to try a rolling release distro now would be the time. I downloaded Leap 15 and ran it in VirtualBox. I was able to install Horizon Client and run it without issue.

    Thanks in advance for your time and regardless of the outcome of this investigation I'm excited to join the openSUSE community!
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,424

    Default Re: VMware Horizon Client Installation Issues

    OP is running TW in VirtualBox then trying to install a VMware appliance in a VB virtual machine??????? Can you do that?????

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,295
    Blog Entries
    1

    Default Re: VMware Horizon Client Installation Issues

    Quote Originally Posted by gogalthorp View Post
    OP is running TW in VirtualBox then trying to install a VMware appliance in a VB virtual machine??????? Can you do that?????
    If you're talking about a Guest within a Guest, yes if you configure your Guest properties correctly... but, last time I tried that it was dog slow if it worked at all.

    But, I haven't tried running a Horizon client, that looks like it's not virtualization, based on the stated VMware prerequisites it's an RDP client.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •