VMware Workstation

From Leo's Notes
Revision as of 08:33, 12 November 2015 by Leo (talk | contribs) (libsvgr2 package dependency)
This page was last edited on 12 November 2015, at 08:33.

VMware Workstation is a commercial virtualization software package that runs on Windows and Linux.

While VMware Workstation works flawlessly on Windows, there are some issues that need to be addressed for Linux.

Debugging Linux Issues Running

If you are having issues getting VMware Workstation to run on your linux machine, read the application log located in /tmp/vmware-$USER/vmware-apploader-$$.log.

VMware Workstation 12

Unlike previous versions, VMware Workstation 12 makes use of the mainline kernel source for its kernel modules. This means no more patching is required in order to build the modules.

Fedora 23, Kernel 4.2.3

Library Loading Issue

When attempting to run VMware Workstation 12 on Fedora 23, the program will not start. The logs contained:

2015-11-11T16:41:28.225-07:00| appLoader| I125: Loading shipped version of libvmwareui.so.
2015-11-11T16:41:28.444-07:00| appLoader| W115: Unable to load libvmwareui.so from /usr/lib/vmware/lib/libvmwareui.so/libvmwareui.so: /usr/lib/vmware/lib/libvmwareui.so/libvmwareui.so: undefined symbol: _ZN4Glib10spawn_syncERKSsRKNS_11ArrayHandleISsNS_17Container_Helpers10TypeTraitsISsEEEENS_10SpawnFlagsERKN4sigc4slotIvNSA_3nilESC_SC_SC_SC_SC_SC_EEPSsSG_Pi
2015-11-11T16:41:28.445-07:00| appLoader| W115: Unable to load dependencies for /usr/lib/vmware/lib/libvmware.so/libvmware.so
2015-11-11T16:41:28.445-07:00| appLoader| W115: Unable to execute /usr/lib/vmware/bin/vmware.

This was resolved by overwriting VMware's bundled libraries with the system ones and forcing VMware to use the bundled libraries.

cd /usr/lib/vmware/lib
/bin/cp -afv /usr/lib64/libgio-2.0.so.0.4600.1 libgio-2.0.so.0/libgio-2.0.so.0
/bin/cp -afv /usr/lib64/libglib-2.0.so.0.4600.1 libglib-2.0.so.0/libglib-2.0.so.0
/bin/cp -afv /usr/lib64/libgmodule-2.0.so.0.4600.1 libgmodule-2.0.so.0/libgmodule-2.0.so.0
/bin/cp -afv /usr/lib64/libgobject-2.0.so.0.4600.1 libgobject-2.0.so.0/libgobject-2.0.so.0
/bin/cp -afv /usr/lib64/libgthread-2.0.so.0.4600.1 libgthread-2.0.so.0/libgthread-2.0.so.0

Add the following line near the top of the vmware shell script /usr/bin/vmware:

export VMWARE_USE_SHIPPED_LIBS="force"

Missing libsvgr2 Dependency

If you are missing the libsvgr2 package, you will see the following error in the logs:

2015-11-12T03:28:18.915-05:00| vmui| W115: Unhandled cui::Error exception: class 'N3cui5ErrorE', details 'Unable to load image-loading module: /usr/lib/vmware/libconf/lib/gtk-2.0/2.10.0/loaders/svg_loader.so: librsvg-2.so.2: cannot open shared object file: No such file or directory'

VMware will also not start when executed.

This can be fixed by installing the libsvgr2 package.

VMware Workstation 11

When building kernel modules on kernel versions > 2.6, patching is required. Check out ArchLinux's AUR vmware-patch repository at: https://aur.archlinux.org/packages/vmware-patch

TODO: Import VMware 11 installation information here

See Also