As the title stated I upgraded my host to the latest ubuntu release 18.04 (Bionic Beaver). After the upgrade I could not get VMware workstation or player to open. I could see the process pop up but it would kill itself and nothing else would happen…. read somewhere VMware 12.5.9 isn’t supported in newer releases of ubuntu… so I tried upgrading to the latest VMware workstation 15 only to find out the processor in my server didn’t meet minimum requirements of VMWare WS 15
… so I was shit out of luck for a while until I came across a forum post somewhere with a script that patches 12.5.9 to work with ubuntu 18.04.
This script needs to be run in super user, I’ve tested it and in my case got everything working again.
sudo su# do all below as root cd /usr/lib/vmware/modules/source tar xvf vmmon.tar tar xvf vmnet.tar wget -O ./vmmon-only/linux/hostif.c https://raw.githubusercontent.com/mkubecek/vmware-host-modules/b50848c985f1a6c0a341187346d77f0119d0a835/vmmon-only/linux/hostif.c vim vmnet-only/bridge.c cd vmmon-only/ make cd ../vmnet-only/ make cd .. mkdir /lib/modules/4.13.0-16-generic/misc cp *.o /lib/modules/4.13.0-16-generic/misc insmod /lib/modules/4.13.0-16-generic/misc/vmmon.o insmod /lib/modules/4.13.0-16-generic/misc/vmnet.o rm /usr/lib/vmware/lib/libz.so.1/libz.so.1 ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1 vmware-networks --start exit # run vmware as normal user /usr/lib/vmware/bin/vmware