web-dev-qa-db-fra.com

Lecteur vmware sur Ubuntu 15.10

Je viens de télécharger Ubuntu 15.10 et mon lecteur vmware ne fonctionne plus.

J'ai essayé de suivre la solution proposée ici et ici mais cela ne semble pas être suffisant pour moi.

Lorsque je lance vmplayername__, de nombreux messages d'erreur tels que

Gtk-Message: Failed to load module "unity-gtk-module": libunity-gtk-module.so: cannot open shared object file: No such file or directory

(vmware-modconfig:9701): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",

À ce stade, il me demande de compiler et de charger plusieurs modules dans le noyau. Si je dis Installname__, il me demande mon mot de passe et donne ensuite quelques erreurs comme

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

Gtk-Message: Failed to load module "canberra-gtk-module"

(vmware-gksu:9701): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.

(vmware-gksu:9701): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(vmware-gksu:9701): Pango-WARNING **: Failed to load Pango module '/usr/lib/vmware/libconf/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'

(vmware-gksu:9701): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.

(vmware-gksu:9701): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

et puis ça s'arrête.

Que dois-je faire pour résoudre ce problème? Je suis plutôt un noob, alors essayez d’être aussi détaillé que possible.

UPDATE: Si j'essaie d'exécuter Sudo vmware-modconfig --console --install-all, le résultat est

Stopping VMware services:
VMware Authentication Daemon                                        done
VM communication interface socket family                            done
Virtual machine communication interface                             done
Virtual machine monitor                                             done
Blocking file system                                                done
make: Entering directory '/tmp/modconfig-sQDoPN/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.2.0-16-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-16-generic'
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/linux/driver.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/linux/hostif.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/linux/driverLog.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/memtrack.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/apic.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/vmx86.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/cpuid.o
/tmp/modconfig-sQDoPN/vmmon-only/linux/driver.c:1332:1: warning: always_inline function might not be inlina
ble [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/task.o
/tmp/modconfig-sQDoPN/vmmon-only/linux/driver.c: In function     ‘LinuxDriver_Ioctl’:
/tmp/modconfig-sQDoPN/vmmon-only/linux/driver.c:2054:1: warning: the  frame size of 1184 bytes is larger tha
n 1024 bytes [-Wframe-larger-than=]

}
^
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/comport.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/hashFunc.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/common/phystrack.o
CC [M]  /tmp/modconfig-sQDoPN/vmmon-only/vmcore/moduleloop.o
LD [M]  /tmp/modconfig-sQDoPN/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
CC      /tmp/modconfig-sQDoPN/vmmon-only/vmmon.mod.o
LD [M]  /tmp/modconfig-sQDoPN/vmmon-only/vmmon.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-16-generic'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-sQDoPN/vmmon-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-sQDoPN/vmmon-only'
make: Entering directory '/tmp/modconfig-sQDoPN/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.2.0-16-generic/build/include/..     SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.2.0-16-generic'
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/driver.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/hub.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/userif.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/netif.o
In file included from include/linux/pci.h:35:0,
             from /tmp/modconfig-sQDoPN/vmnet-only/compat_netdevice.h:27,
             from /tmp/modconfig-sQDoPN/vmnet-only/netif.c:43:
include/linux/pci_ids.h:2252:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE  0x15ad
^
In file included from /tmp/modconfig-sQDoPN/vmnet-only/net.h:38:0,
             from /tmp/modconfig-sQDoPN/vmnet-only/vnetInt.h:26,
             from /tmp/modconfig-sQDoPN/vmnet-only/netif.c:42:
/tmp/modconfig-sQDoPN/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE                    0x15AD
^
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/bridge.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/procfs.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/smac_compat.o
CC [M]  /tmp/modconfig-sQDoPN/vmnet-only/smac.o
In file included from /tmp/modconfig-sQDoPN/vmnet-only/net.h:38:0,
             from /tmp/modconfig-sQDoPN/vmnet-only/vnetInt.h:26,
             from /tmp/modconfig-sQDoPN/vmnet-only/bridge.c:52:
/tmp/modconfig-sQDoPN/vmnet-only/vm_device_version.h:56:0: warning:   "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE                    0x15AD
^
In file included from include/linux/pci.h:35:0,
             from /tmp/modconfig-sQDoPN/vmnet-only/compat_netdevice.h:27,
             from /tmp/modconfig-sQDoPN/vmnet-only/bridge.c:51:
include/linux/pci_ids.h:2252:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE  0x15ad
^
In file included from /tmp/modconfig-sQDoPN/vmnet-only/bridge.c:50:0:
/tmp/modconfig-sQDoPN/vmnet-only/bridge.c: In function ‘VNetBridgeUp’:
/tmp/modconfig-sQDoPN/vmnet-only/vmnetInt.h:81:40: error: too few arguments to function ‘sk_alloc’
#   define compat_sk_alloc(_bri, _pri) sk_alloc(&init_net, \
                                    ^
/tmp/modconfig-sQDoPN/vmnet-only/bridge.c:952:17: note: in expansion of macro ‘compat_sk_alloc’
bridge->sk = compat_sk_alloc(bridge, GFP_ATOMIC);
In file included from /tmp/modconfig-sQDoPN/vmnet-only/compat_sock.h:23:0,
             from /tmp/modconfig-sQDoPN/vmnet-only/bridge.c:35:
include/net/sock.h:1515:14: note: declared here
struct sock *sk_alloc(struct net *net, int family, gfp_t priority,
          ^
scripts/Makefile.build:258: recipe for target '/tmp/modconfig-    sQDoPN/vmnet-only/bridge.o' failed
make[2]: *** [/tmp/modconfig-sQDoPN/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1398: recipe for target '_module_/tmp/modconfig-sQDoPN/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-sQDoPN/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.2.0-16-generic'
Makefile:120: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-sQDoPN/vmnet-only'
Unable to install all modules.  See log for details.
4
marcosh

(K) Ubuntu 15.10 avec le noyau 4.2.0-17 et VMPlayer 7.1.2:

  1. ouvrir un terminal, par exemple. Konsole
  2. cd /usr/lib/vmware/modules/source
  3. Sudo tar -xf vmnet.tar
  4. utilisez votre éditeur de texte préféré, par exemple. joe, pour éditer vmnetInt.h:

Sudo joe vmnet-only/vmnetInt.h

  1. dans la ligne 82, ajouter un ", 1" à la fin, comme dans la ligne 84

    ancien: PF_NETLINK, _pri, &vmnet_proto)

    nouveau: PF_NETLINK, _pri, &vmnet_proto, 1)

  2. sauvegardez vos modifications et rajoutez-les dans le fichier tar:

Sudo tar -uf vmnet.tar vmnet-only/vmnetInt.h

  1. lancez vmplayer à nouveau, il devrait être construit maintenant

Sudo vmplayer

3
Mnyromyr

C'est ce que j'ai fait et cela a fonctionné pour moi:

echo /usr/lib/vmware/lib/libglibmm-2.4.so.1 | Sudo tee -a /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf

Puis lancez:

Sudo ldconfig

Alors ça va coller.

J'ai modifié manuellement mon fichier pour qu'il fonctionne pour moi, mais j'ai trouvé un moyen plus facile de partager ici les forums de la communauté VMware: Workstation 12 sur l'hôte Linux Debian ne démarre pas, aucune interface graphique ni aucun message d'erreur. =

J'espère que ça aide, car ça m'a aidé ;-)

Après cela, vous devriez pouvoir continuer à utiliser votre icône dans la barre Unity ou à le lancer depuis un terminal:

vmware
3
itnet7

j'ai essayé de faire ce qui suit pour mon Ubuntu 15.10 Mes spécifications sont les suivantes:

$ uname -a
Linux Shan-Ubuntu 4.2.0-19-generic #23-Ubuntu SMP Wed Nov 11 11:39:30 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

J'ai d'abord supprimé le lecteur VMWare précédemment installé à l'aide des lignes suivantes:

Sudo vmware-installer -u vmware-player
Sudo vmware-installer -u vmware-player

Ensuite, je l'ai réinstallé à partir du site Web site Web de VMWare et, depuis que j'ai un problème de canberra-gtk-module, j'ai utilisé:

Sudo apt-get install libcanberra-gtk*

et une fois le téléchargement terminé, dans le terminal, je lance:

vmplayer

avec Gtk-Errors qui peuvent être complètement ignorés, VMplayer démarre complètement.

Espérons que cela aide Shan

2
Shan

J'ai eu le même problème sur Ubuntu Mate, basé sur Ubuntu 15.10 avec le noyau 4.2.0-22-generic. C’est arrivé après le démarrage du lecteur après une mise à jour normale incluant le noyau de base. Ce qui a fonctionné pour moi a été la chose la plus simple jamais faite: démarrez 'vmplayer' en tant que root, attendez que les modules soient compilés, puis fermez-le et ouvrez-le avec mon utilisateur normal.

cguevara@xps:~$ vmplayer 

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

(vmware-gksu:12917): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.

(vmware-gksu:12917): GLib-GObject-CRITICAL **: g_object_new: assertion 'G_TYPE_IS_OBJECT (object_type)' failed

(vmware-gksu:12917): Pango-WARNING **: Failed to load Pango module '/usr/lib/vmware/libconf/lib/pango/1.6.0/modules/pango-basic-fc.so' for id 'BasicScriptEngineFc'

(vmware-gksu:12917): GLib-GObject-WARNING **: Two different plugins tried to register 'BasicEngineFc'.

Sortie après:

cguevara@xps:~$ vmplayer 
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory
I/O warning : failed to load external entity "/etc/vmware/hostd/proxy.xml"
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

[at this point is running again]

J'espère que cela t'aides.

0
cguevara

J'ai eu le même problème, rien de proposé n'a aidé. Ensuite, j'ai désinstallé vmware player, et j'ai téléchargé et installé la version 12.0.1, lui permettant de se mettre à jour en 12.1.0. Maintenant, cela fonctionne comme un charme.

0
Bjesomar