Ubuntu 解决vmware Unable to start services
作者:互联网
问题
打开vmware后,报错信息如下:
Unable to start services. See log file /tmp/vmware-root/vmware-15202.log for details
解决
首先查看你的vmware版本:
vmware --version
我的是15.0.4
,将下面代码保存为.sh
文件,并执行它(注意开头的版本号改成自己的)
#!/bin/bash
VMWARE_VERSION=workstation-15.0.4 #This needs to be the actual name of the appropriate branch in mkubecek's GitHub repo for your purposes
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git #Use `git branch -a` to find all available branches and find the one that's appropriate for you
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
sudo make install
sudo rm /usr/lib/vmware/lib/libz.so.1/libz.so.1
sudo ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1
systemctl restart vmware && vmware &
感谢:
标签:TMP,git,so.1,start,Unable,libz,services,FOLDER,vmware 来源: https://blog.csdn.net/qq_34626094/article/details/113129606