Ubuntu – Gtk-WARNINGs while installing and/or starting up VMware

gtkvmwarevmware-playervmware-workstation

Keep getting these errors when trying to install VMware player on 16.04 i can ignore them and push through but then VMware pegs the CPU every 10min

sudo ./VMware-Player-12.1.1-3770994.x86_64.bundle
Extracting VMware
Installer…done.

(vmware-installer.py:15056): Gtk-WARNING **: Unable to locate theme
engine in module_path: "murrine",

… (repeat 20 times) …

(vmware-installer.py:15056): Gtk-WARNING **: Unable to locate theme
engine in module_path: "murrine",

(vmware-installer.py:15056): Gtk-WARNING **: Unable to locate theme
engine in module_path: "murrine", Gtk-Message: Failed to load module
"canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared
object file: No such file or directory

$ sudo apt-get install libcanberra-gtk-module
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libcanberra-gtk-module is already the newest version (0.30-2.1ubuntu1).
libcanberra-gtk-module set to manually installed.
The following packages were automatically installed and are no longer required:
  libpango1.0-0 libpangox-1.0-0
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Best Answer

The error is self explanatory that required module is not installed.

Try installing the module, that should fix the error.

sudo apt-get install libcanberra-gtk-module

Note: Since VMware provides you a .bundle file which is basically an executable, it will not check the repository and install the required packages. Whenever dealing with .run or .bundle executable its best to read the README for dependencies and install them.

Related Question