VMware Workstation

 View Only
Expand all | Collapse all

VMware 16.2.3 not working on Ubuntu 22.04 LTS

sacd7

sacd7Apr 29, 2022 01:12 PM

jbrooksfrtw

jbrooksfrtwApr 29, 2022 01:28 PM

d1v3rg3ntFX

d1v3rg3ntFXMay 03, 2022 02:16 PM

tdveira

tdveiraJun 09, 2022 10:38 AM

izzycrow

izzycrowJul 13, 2022 11:10 PM

piete

pieteJul 24, 2022 12:53 PM

VirtualBob

VirtualBobFeb 22, 2023 08:04 PM

  • 1.  VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 22, 2022 08:20 PM
      |   view attached

    After up grading from Ubuntu 20.04 LTS to 22.04; I tried to start VMware Workstation Pro and I got the message "Unable to install all modules" and it referred me to an error log file which I have attached to this message. Any ideas how to get around this or do I need to go back to the previous version of Linux?

    Attachment(s)

    log
    vmware-4915.log   63 KB 1 version


  • 2.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 23, 2022 09:09 PM

    Thanks : https://communities.vmware.com/t5/VMware-Workstation-Player/ubuntu-22-04-install-vm-workstation-error/td-p/2905277

    This is what helped me

    cd /usr/lib/vmware/modules/source
    git clone https://github.com/mkubecek/vmware-host-modules
    cd vmware-host-modules
    git checkout workstation-16.2.3
    make
    tar -cf vmnet.tar vmnet-only
    tar -cf vmmon.tar vmmon-only
    mv vmnet.tar /usr/lib/vmware/modules/source/
    mv vmmon.tar /usr/lib/vmware/modules/source/
    vmware-modconfig --console --install-all



  • 3.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 26, 2022 01:17 AM

    Are we going to need to do this every time the kernel updates? Kind of frustrated I need my vms for research, and I may go back to 20.04 if we need to do this every time the kernel updates.



  • 4.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 26, 2022 05:44 PM

    VMWare will use the same files to compile modules to the new kernel.

    I've Upgraded the kernel from 5.15.0-25 to 5.15.0-27 and it still working without interference



  • 5.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Aug 06, 2022 03:41 PM

    this happens also on Ubuntu 20.04 with newer Kernel 5.15,

    fortunately the solution provided works also for 20.04;



  • 6.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 29, 2022 01:12 PM

    Thanks. This worked.



  • 7.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 29, 2022 01:28 PM

    Confirmed. Fixed my issue as well. 

    Thanks.



  • 8.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 29, 2022 05:16 PM

    It still fails for me:

    uname -a

    Linux nuc11 5.13.0-40-generic #45~20.04.1-Ubuntu SMP Mon Apr 4 09:38:31 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

    lsb_release -a

    No LSB modules are available.

    Distributor ID: Ubuntu

    Description: Ubuntu 20.04.4 LTS

    Release: 20.04

    Codename: focal

     

    cd /usr/lib/vmware/modules/source
    sudo git clone https://github.com/mkubecek/vmware-host-modules
    cd vmware-host-modules
    sudo git checkout workstation-16.2.3
    sudo make
    sudo tar -cf vmnet.tar vmnet-only
    sudo tar -cf vmmon.tar vmmon-only
    sudo mv vmnet.tar /usr/lib/vmware/modules/source/
    sudo mv vmmon.tar /usr/lib/vmware/modules/source/
    sudo vmware-modconfig --console --install-all

     

    result:

     

      MODULEBUILDDIR= postbuild

    make[1]: Entering directory '/tmp/modconfig-Z3iwV2/vmnet-only'

    make[1]: 'postbuild' is up to date.

    make[1]: Leaving directory '/tmp/modconfig-Z3iwV2/vmnet-only'

    cp -f vmnet.ko ./../vmnet.o

    make: Leaving directory '/tmp/modconfig-Z3iwV2/vmnet-only'

    Starting VMware services:

       Virtual machine monitor                                            failed

       Virtual machine communication interface                             done

       VM communication interface socket family                            done

       Virtual ethernet                                                   failed

       VMware Authentication Daemon                                        done

    Unable to start services



  • 9.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 27, 2022 12:01 AM

    O meu ubuntu 22.04 funcionou!! Obrigado

     



  • 10.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 29, 2022 09:27 PM

    on pop-os you have to add sudo make install when you finish, thats what worked for me after following the instructions. thanks.



  • 11.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 30, 2022 07:01 AM

    It just doesn't work



  • 12.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 30, 2022 07:53 AM

     

    cd /usr/lib/vmware/modules/source
    sudo git clone https://github.com/mkubecek/vmware-host-modules
    cd vmware-host-modules
    sudo git checkout workstation-16.2.3
    sudo make && sudo make install
    sudo tar -cf vmnet.tar vmnet-only
    sudo tar -cf vmmon.tar vmmon-only
    sudo vmware-modconfig --console --install-all

    in addition to this steps i copied vmmon and vmnet to /dev/

    then i run the command (sudo vmware-modconfig --console --install-all) again as the original post solutions wasn't working. its working now. ps-my pop-os is new install so if your os has been running for long time you may have to dig deeper for solution or reinstall if you backup your important stuff. hope vmware comes out with new update that works out of the box. hope it helps.



  • 13.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Apr 30, 2022 09:05 AM

    Thanks for your help!l

    i’ll gave up on VMware



  • 14.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 31, 2022 06:34 AM

    the Austkwabs solution of 04-30-2022 12:53 AM worked for me on an upgrade from Ubuntu 20.04 to 22.04



  • 15.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 31, 2022 12:30 PM

    Austkwabs solution has worked fine for me. Thanks.



  • 16.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Sep 22, 2022 04:48 PM

    Which specific files did you copy over?  Path?  The vmmon.tar or vmmon-only...etc

    "in addition to this steps i copied vmmon and vmnet to /dev/"



  • 17.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 03, 2022 02:16 PM

    This was a huge help, thanks for sharing!



  • 18.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 18, 2022 04:29 PM

    I just posted in another thread, and apologies for being repetitive but I've been trying to get Player to work for six weeks and don't know what else to do.

    The foregoing all have failed.  Player remains unable to open a VM.  Player installs.  It can install a VM from ISO and run it but the VM cannot be restarted using the VM's restart command, and cannot be opened after reboot.

    What's been done:

    • I have attempted this on Ubuntu 20.04 and three or four reinstalls of Ubuntu 22.04.
    • I have attempted reinstall of VMware Player 16.2.3 fifteen or twenty times.
    • I have attempted every one of the foregoing recommendations at least three times.

    Please see attached logs.  Any suggestions that actually get the software working would be profoundly appreciated.

    Attachment(s)

    log
    vmware-15873.log   36 KB 1 version
    txt
    vmware-modconfig.txt   2 KB 1 version


  • 19.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 18, 2022 05:09 PM

    Trying to repeat something that failed once several times usually does not make it better - on the contrary.
    Please check if you really have install the kernel headers for your running kernel.
    From the looks of it VMplayer has not yet been installed completely.
    Whats is the result of
    uname -a

    Ulli



  • 20.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 23, 2022 05:12 AM
    I have absolutely no idea what a kernel header is, how to check whether it/they is/are either installed or really installed, or how to either install or really install it/them.
     
    What I have installed is Ubuntu Desktop 22.04, applying updates using aptitude.  If anything else is necessary, then obviously, the installer should do it.
     
    Obviously, the problem is VMware Player hasn't been installed completely.  That's my point.  The installer installs the app, whereupon it fails.  The app continues to fail after applying the third-party kludge. The question is how to get it to install it fully, so it works.  One wonders if perhaps the developer might have an interest in there being a functional installer.
     
    uname -a
     
    returns:
     
    Linux greystone 5.15.0-30-generic #31-Ubuntu SMP Thu May 5 10:00:34 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
     
     
    Two files are attached, one being STDOUT from executing the .bundle file.  I never have seen so many (or even any) error messages from vmware-installer.  These reference elementary syntax and dependency errors, which is both astonishing and alarming.  What also is inexplicable is that it concludes with a statement that the installation completed successfully when it obviously did not.
     
    Also attached is the log file from the failed kludge attempt.
     
     
    Any ideas about how to get the software installed and running would be greatly appreciated.
     
     

    Attachment(s)



  • 21.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 23, 2022 10:31 AM

    done this and managed to get the install running. stupid me did forgot to do other checks about the version and I have now corrupted it all. guess I will just reinstall everything from scratch and see how it goes

     

    https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-install-vmware-workstation-16-pro-on-ubuntu-22-04-ubuntu-20-04.html



  • 22.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted May 26, 2022 07:10 AM

    Thanks, this worked for me on a new install of Ubuntu 22.04



  • 23.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jun 09, 2022 10:38 AM

    Thank my friend.

    Works for me.



  • 24.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jun 10, 2022 04:25 PM

    Thanks,

    excellent description for this work around. Saved me a lot of time

     



  • 25.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 11:10 PM

    thank you so much for this!



  • 26.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 24, 2022 12:53 PM

    Thanks, this worked on Kubuntu 22.04



  • 27.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Feb 22, 2023 08:04 PM

    Worked for me Thanks!!!

     



  • 28.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jun 09, 2022 05:25 PM

    I don't want to sound negative and it's not directly on the topic, but why you (vmware) don't include this solution in your bundle?

    This problem has been out in the open for months, and I remember solving it with this solution like a month and a half ago. Now I have to install it again on Kubuntu 22.04 and problem is still there with the latest bundle (installer).

    And it's not the first time, over the last year or so it was always some issue where you have to find some hacky solution on your own forum that for some reason you didn't incorporate into your own installer.

    Never had issues (I think ever for many-many years) with Windows version, but on Linux it's always reading forums, finding solutiuons, hacks, etc. The quality of Linux releases has been subpar for me. 

    Again, sorry for a bit negative tone, it's just not the first time.



  • 29.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jun 09, 2022 05:49 PM

    Last time I have seen one of the VMware Linux developers post in this forum was in 2007 if I remember right.
    As far as I know VMware does not even have an option to file bugs for Workstation.

    And just for your information - this forum may look like a forum driven by VMware Inc. all what VMware actually does here is provide the platform If you get help here you get this help from volunteers like me ....
    >I don't want to sound negative and it's not directly on the topic, but why you (vmware) don't include this solution in your bundle?

    Those that would know the answer to such a question simply dont come here

    Ulli



  • 30.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 01, 2022 09:34 PM

    vmware going to provide an official fix?



  • 31.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 01, 2022 09:40 PM

    Solutions for problems with "bleeding edge" distributions like Ubuntu 22 are provided by the Ubuntu scene - not by VMware Inc.
    Look at the other posts about Ubuntu 22 + WS 16 - the solution has been posted several weeks/ months ago.

    Ulli



  • 32.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 11:33 AM

    I am running Ubuntu 20.04 LTS and seeing this problem repeatedly.  22.04 LTS and 20.04 LTS ahould be better supported.

     



  • 33.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 12:08 PM

    The situation is still the same as it was in 2002.
    Supported distributions install flawlessly.
    Unsupported distributions install flawlessly once a smart user of distribution XY figured out how to patch the installer.
    So we have 3 options:
    1. demand that VMware fixes the problem and give up after one or two decades. Obviously this is not a solution orientated strategy and probably bad for your mental health.
    2. accept the situation as it is and learn where to find the patches for your unsupported distribution.
    3. switch to a supported distribution

    Known side-effects of each approach:
    1. folks start to kill the waiting time and start knitting - and we sure dont need to discuss the devastating results of picking up a hobby like knitting.
    You will run out of wool every 4.53856 days and the kids will complain about scratchy pullovers.

    2. live with getting the latest and maybe buggiest version ever just a few weeks later than the warrior-minded early adopters.
    Major advantage - you will hear about the ugliest new bugs in advance and can make an educated decision before you start to change your current version

    3. become a happy Debian user

    Ulli

     



  • 34.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 01:22 PM

    >>3. become a happy Debian user

    Works for me



  • 35.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 02:21 PM

    Once I realised that knitting would drive me crazy in the long run
    I also switched from Ubuntu to Debian

     



  • 36.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 13, 2022 05:26 PM

    I don’t know if I would consider Ubuntu as “bleeding edge”. Rolling distributions give me more up to date packages than Ubuntu does. 
    Ubuntu is more like bleeding to death by a thousand cuts. 



  • 37.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 25, 2022 01:41 PM


  • 38.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 25, 2022 09:35 PM

     I was just about to post this that there was a new version released. So everything works good with 16.2.4?



  • 39.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS



  • 40.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 25, 2022 10:07 PM

    I unfortunately do not see anything regarding how the new patch is working on 22.04, I mean from an end user perspective of installing and getting the kernel modules to compile.  



  • 41.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 25, 2022 10:17 PM

    Then please complain in the other post - so that the Workstation product manager sees it.
    Have you tried the patch from Michael Kubecek



  • 42.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 26, 2022 12:13 AM

    I am sorry miscommunication. I was at work and I don't have a readily available 22.04 system I can install VMware with the new patch, so I just want to know how others experience is that went through the workaround in April. I am not complaining about anything just want general feedback, but I am home now and can install it myself. 



  • 43.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 26, 2022 02:52 AM

    16.2.4 fails in precisely the same way as 16.2.3 on Ubuntu 22.04, as far as I can tell, at least for Workstation Player.  I posted to this effect last evening.  The app simply cannot launch a guest.

     

    This said, after months, I think I had a breakthrough today, which requires a synthesis of 5-7 separate hacks or deviations from commonly posted procedures.  I still need to confirm a few things but stay tuned.



  • 44.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 28, 2022 07:17 PM

     

    My solution script, which works with my current kernel/PopOS! after the 16.2.4 still failed...

    ------

     

    #!/bin/sh
    wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gz
    tar -xzf workstation-16.2.4.tar.gz
    cd vmware-host-modules-workstation-16.2.4
    tar -cf vmmon.tar vmmon-only
    tar -cf vmnet.tar vmnet-only
    sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
    sudo vmware-modconfig --console --install-all



  • 45.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Aug 05, 2022 02:05 PM

    The "Second method (replace original tarballs)" method listed on this page worked for me on 22.04 with kernel 5.18.10-76051810-generic

    https://github.com/mkubecek/vmware-host-modules/blob/master/INSTALL



  • 46.  RE: VMware 16.2.3 not working on Ubuntu 22.04 LTS

    Posted Jul 28, 2022 04:19 PM

    Didn't use Wrokstation 16.2.3 for couple of months and ran again recently and had same error with recompiling vmmem/vmmon stuff (probably updates overwriten some changes, I don't know).

    I saw that 16.2.4 is out, so I uninstalled 16.2.3 and installed 16.2.4 and it worked for me without this hackery on Kubuntu 22.04 (kernel 5.15.0-41). So I should probably say "finally!"