0

I am trying to install vmware workstation 12 on Ubuntu 14.04 and I got following errors.

Please how do I fix this

This is the installation command I used.

laura@laura:~$ cd ~/Downloads  
laura@laura:~/Downloads$ sudo chmod +x VMware-Player*.bundle  
[sudo] password for laura:   
laura@laura:~/Downloads$ sudo ./VMware-Player*.bundle  
Extracting VMware Installer...done.    
(vmware-installer.py:3926): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",  
(vmware-installer.py:3926): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",  
(vmware-installer.py:3926): 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 

Then after completing the installation process and attempting to run, I get this

enter image description here

  • What one immediately notices is that the device that can't be opened is /dev/vmmon and that the "Virtual machine monitor" doesn't start. Those are obviously related. I have never actually installed VMWare Workstation, but have you run the installer using sudo? Installation of software like this is bound to need root privileges. The fact that your virtual ethernet fails, is also a hint in that direction. – jawtheshark Aug 23 '16 at 14:20
  • I actually run the installer using sudo. It has been on for about 3 years, and suddenly it crashed and gives that message, – Laura Aug 23 '16 at 19:00
  • Was worth asking. :-D – jawtheshark Aug 23 '16 at 20:02
  • Try to see whether there are log files on why these services fail. I don't know where vmware log stuff. Try /var/log/syslog and see if there are vmware.log files in /var/log Also, next time, try to give the full output of the installation including launched command. That is much more useful than just half a screenshot. – jawtheshark Aug 23 '16 at 20:19
  • Thanks @jawtheshark. I haven't found any log files for the vmware. Maybe I'm not searching right, please guide me on how to. I have also attached new pictures of terminal commands for the installation process. – Laura Aug 24 '16 at 10:51
0

For this error:

Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

  1. First find out where "libcanberra-gtk-module.so" is,

    locate libcanberra-gtk-module.so

    This may cause following output:

    laura@laura:~$ 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

    If didn't find any matched file, install this package:

    sudo apt-get install libcanberra-gtk-module


  1. Then create two files:

    sudo touch /etc/ld.so.conf.d/gtk-2.0.conf
    sudo touch /etc/ld.so.conf.d/gtk-3.0.conf

    Edit this file:

    sudo vim /etc/ld.so.conf.d/gtk-2.0.conf

    And insert the location just found (File path only!)

    /usr/lib/x86_64-linux-gnu/gtk-2.0/modules

    For the other file, just add the other location.


  1. Reload config.

    sudo ldconfig


  1. Reinstall VMware

Note that if you meet this error:

locate: can not stat () `/var/lib/mlocate/mlocate.db': No such file or directory

Please execute:

updatedb

Do remember always start vmware as root! (By adding 'sudo' before your command)
VMware must acquire enough permission to load virtual machine.

Edit the application link so that vmware can take enough permission automatically:

Example here

Notice this line:

Exec=gksu -s /usr/bin/vmware %U

Be sure that your file is started with 'gksu -s'

If you don't have gksu, install:

sudo apt-get install gksu


It's not a simple problem, but I wish this answer can help you.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.