----------------------------------------------------------------
Ubuntu 14.04 + VMware workstation 12.1.0 build-3272444
$ sudo apt-get upgrade
bule@bsky:~/Downloads$ ls
VMware-Workstation-Full-12.1.0-3272444.x86_64.bundle
-----------------------------------------------------------
安装这个包是避免以下
错误1:
Gtk-WARNING: Unable to locate theme engine in module_path "murrine"
export GTK_PATH=$GTK_PATH:/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/
source /etc/bash.bashrc
错误2:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
因为能正常开启VMware的安装界面,所以当时也就忽略了这个问题,然而在开启VMware时提示
Could not open /dev/vmmon:No such file or directory.Please make sure that the kernel module 'vmmon' is loaded
后来在网上察了很久,终于找到了解决方案,共分为两步:
第一步
首先确定需要的module是否安装及其位置
bule@bsky:~/Downloads$ locate libpk-gtk-module.so
bule@bsky:~/Downloads$ locate libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
bule@bsky:~/Downloads$
i686-linux-gnu.conf x86_64-linux-gnu_EGL.conf
libc.conf x86_64-linux-gnu_GL.conf
x86_64-linux-gnu.conf
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules
然后重新加载下modules ( 一旦错误,就打开不了VMware 这些可以省略)
# ldconfig
# vmware-installer -l
Product Name Product Version
==================== ====================
vmware-workstation 12.1.0.3272444
第二步:
第二步是为了修正内核版本与VMware不匹配的问题
使用root用户依次执行以下命令
# service vmware stop
# rm /lib/modules/$(uname -r)/misc/vmmon.ko
# vmware-modconfig --console --build-mod vmmon /usr/bin/gcc
Ubuntu 14.04 + VMware workstation 12.1.0 build-3272444
1.用apt-get命令更新系统
$ sudo apt-get upgrade
2.firefox下载VMware Workstation12.0.1
bule@bsky:~/Downloads$ ls
VMware-Workstation-Full-12.1.0-3272444.x86_64.bundle
3.安装VMware
-----------------------------------------------------------
安装这个包是避免以下
错误1:
Gtk-WARNING: Unable to locate theme engine in module_path "murrine"
因为是警告信息,也不需要调试成功。
export GTK_PATH=$GTK_PATH:/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/
source /etc/bash.bashrc
错误2:
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
因为能正常开启VMware的安装界面,所以当时也就忽略了这个问题,然而在开启VMware时提示
Could not open /dev/vmmon:No such file or directory.Please make sure that the kernel module 'vmmon' is loaded
后来在网上察了很久,终于找到了解决方案,共分为两步:
第一步
首先确定需要的module是否安装及其位置
bule@bsky:~/Downloads$ locate libpk-gtk-module.so
bule@bsky:~/Downloads$ locate libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-2.0/modules/libcanberra-gtk-module.so
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules/libcanberra-gtk-module.so
bule@bsky:~/Downloads$
然后:
bule@bsky:~/Downloads$ vim /etc/ld.so.conf.d/i686-linux-gnu.conf x86_64-linux-gnu_EGL.conf
libc.conf x86_64-linux-gnu_GL.conf
x86_64-linux-gnu.conf
# vim /etc/ld.so.conf.d/x86_64-linux-gnu.conf
bule@bsky:/usr/lib$ cd /usr/lib/x86_64-linux-gnu/gtk-
gtk-2.0/ gtk-3.0/
/usr/lib/x86_64-linux-gnu/gtk-3.0/modules
然后重新加载下modules ( 一旦错误,就打开不了VMware 这些可以省略)
# ldconfig
# vmware-installer -l
Product Name Product Version
==================== ====================
vmware-workstation 12.1.0.3272444
第二步:
第二步是为了修正内核版本与VMware不匹配的问题
使用root用户依次执行以下命令
# service vmware stop
# rm /lib/modules/$(uname -r)/misc/vmmon.ko
# vmware-modconfig --console --build-mod vmmon /usr/bin/gcc