Thursday, January 26, 2023

Installing VMware Workstation Pro in OpenSuSE LEAP 15.4

Now system is up and running fine.  Next is to install VMware Workstation Pro.  Basically, it is my OpenSUSE LEAP 15.4 is my host. 

Make sure system is up to date and install the required packages.  Download the binary and copy it to a tmp folder.  Then add the execute permission to the bundle. 

sudo zypper update
sudo zypper install kernel-source kernel-devel gcc

Download the binary and copy it to a tmp folder.  Then add the execute permission to the bundle.   Run the installation after. 

sudo chmod +x VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle
sudo ./VMware-Workstation-Full-16.2.4-20089737.x86_64.bundle

Reboot.  Then I receive the errors below one by one.  


 


  












Do some researches and follow instructions in this video.  

First get the VMware version
vmware -v

Then, download the patches needed to build the VMware host modules against the recent kernel.  You may need to rebuild it if VMware does not start after update.   See https://github.com/mkubecek/vmware-host-modules

wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.4.tar.gz
tar -xvzf 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

I setup a script to start vmware every time the host boots up.  

/etc/init.d/vmware start

I found out none of the USB devices list under Removable devices of the VM.  So, I suspect the vmware-usbarbitrator is not started up auto.  Add the following line to the start up script.  Now, I can see the USB device.

/usr/bin/vmware-usbarbitrator start 

One issue I found and other ppl complain in other Linux distro too.  If you try to copy from VM and paste on the Linux host, you will get error below.

There seems to be no solution to it.  However, if you check your /home/user/.cache/vmware/drag_and_drop/ directory, you will actually find the file there.  



No comments: