I'm running vmplayer and would like to display the resulting window on my desktop. This I can do, but I can't use Unity. When I try I get:
The system's XShm extension is not enabled. Unity depends on this extension to display windows from the guest operating system. Enable this extension in your X configuration file, restart X and try again.
I tried configuring MIT-SHM for Xorg and it didn't seem to work. Even rebooted/restarted X but vmplayer gives me the same error message. I'm on Ubuntu 10.04 (64 bit). How can I fix this?
Once again the silence is deafening...
can't help with your issue - but have a look at your post:
you don't tell us which vmplayer version you use, we don't know which kernel you use ... nothing
no wonder nobody bites
Linux mars 2.6.32-27-generic #49-Ubuntu SMP Thu Dec 2 00:51:09 UTC 2010 x86_64 GNU/Linux
Same issue different versions
keith@xander:~$ /usr/bin/vmplayerGtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directoryLogging to /tmp/vmware-keith/modconfig-1348.logfilename: /lib/modules/2.6.32-41-server/misc/vmmon.kosupported: externallicense: GPL v2description: VMware Virtual Machine Monitor.author: VMware, Inc.srcversion: 0845FE74CACDC7B6DF8502Cdepends:vermagic: 2.6.32-41-server SMP mod_unload modversionsfilename: /lib/modules/2.6.32-41-server/misc/vmnet.kosupported: externallicense: GPL v2description: VMware Virtual Networking Driver.author: VMware, Inc.srcversion: 5E3E30A982E110473141FBAdepends:vermagic: 2.6.32-41-server SMP mod_unload modversionsfilename: /lib/modules/2.6.32-41-server/misc/vmblock.kosupported: externalversion: 1.1.2.0license: GPL v2description: VMware Blocking File Systemauthor: VMware, Inc.srcversion: 953CE20A40BBA61A0C35692depends:vermagic: 2.6.32-41-server SMP mod_unload modversionsparm: root:The directory the file system redirects to. (charp)filename: /lib/modules/2.6.32-41-server/misc/vmci.kosupported: externallicense: GPL v2version: 9.1.18.0description: VMware Virtual Machine Communication Interface (VMCI).author: VMware, Inc.srcversion: 1DF90BBEB11EA8851C10F14alias: pci:v000015ADd00000740sv*sd*bc*sc*i*depends:vermagic: 2.6.32-41-server SMP mod_unload modversionsparm: disable_host:Disable driver host personality - (default=0) (bool)parm: disable_guest:Disable driver guest personality - (default=0) (bool)parm: disable_msi:Disable MSI use in driver - (default=0) (bool)parm: disable_msix:Disable MSI-X use in driver - (default=0) (bool)filename: /lib/modules/2.6.32-41-server/misc/vsock.kosupported: externalalias: vmware_vsocklicense: GPL v2version: 9.1.1.0description: VMware Virtual Socket Familyauthor: VMware, Inc.srcversion: 3CBB628A16D6440E6E99BECdepends: vmcivermagic: 2.6.32-41-server SMP mod_unload modversionsfilename: /lib/modules/2.6.32-41-server/misc/vmmon.kosupported: externallicense: GPL v2description: VMware Virtual Machine Monitor.author: VMware, Inc.srcversion: 0845FE74CACDC7B6DF8502Cdepends:vermagic: 2.6.32-41-server SMP mod_unload modversionsGtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directoryGtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directoryIf this is relivant; on the system I can find:/etc/X11/Xsession.d/52libcanberra-gtk-module_add-to-gtk-modules/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.soThe log file mentioned contains:keith@xander:~$ cat /tmp/vmware-keith/modconfig-1348.log
2012-07-31T13:31:39.550Z| vthread-3| I120: Log for VMware Workstation pid=1348 version=8.0.4 build=build-744019 option=Release
2012-07-31T13:31:39.550Z| vthread-3| I120: The process is 64-bit.
2012-07-31T13:31:39.550Z| vthread-3| I120: Host codepage=UTF-8 encoding=UTF-8
2012-07-31T13:31:39.550Z| vthread-3| I120: Host is Linux 2.6.32-41-server Ubuntu 10.04.4 LTS
2012-07-31T13:31:39.494Z| vthread-3| I120: Msg_Reset:
2012-07-31T13:31:39.494Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2012-07-31T13:31:39.494Z| vthread-3| I120: ----------------------------------------
2012-07-31T13:31:39.494Z| vthread-3| I120: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2012-07-31T13:31:39.506Z| vthread-3| I120: Msg_Reset:
2012-07-31T13:31:39.506Z| vthread-3| I120: [msg.dictionary.load.openFailed] Cannot open file "/home/keith/.vmware/config": No such file or directory.
2012-07-31T13:31:39.506Z| vthread-3| I120: ----------------------------------------
2012-07-31T13:31:39.506Z| vthread-3| I120: PREF Optional preferences file not found at /home/keith/.vmware/config. Using default values.
2012-07-31T13:31:39.550Z| vthread-3| W110: Logging to /tmp/vmware-keith/modconfig-1348.log
2012-07-31T13:31:39.765Z| vthread-3| I120: modconf query interface initialized
2012-07-31T13:31:39.788Z| vthread-3| I120: modconf library initialized
Is there any more information you need?
Something I tried, but which failed to be a solution for me:
On some Linux hosts, you cannot enter unity mode until you change the configuration for accelerated 3D graphics. If youreceive an error message about the XShm extension when attempting to enter unity mode, increase the value of/proc/sys/kernel/shmmax before powering on the virtual machine. As root, open the /etc/sysctl.conf file with a text editor and add theline: "kernel.shmmax = 67108864". As root, reload the settings by typing: sysctl -p and then power the virtual machine off and onagain. If you still have problems, use a larger value.ref:VMware Workstation 6.5 Beta Release Notes