Tuesday, July 22, 2008

Fedora 8 2.6.24.4-64.fc8 and vmware workstation 5.5

A few tricks I used to make vmware running on my box.

[root@pcvitaliy ~]# uname -a
Linux pcvitaliy 2.6.24.4-64.fc8 #1 SMP Sat Mar 29 09:54:46 EDT 2008 i686 i686 i386 GNU/Linux
[root@pcvitaliy ~]#

Usual procedure with vmware installation under not supported OSs using any to any package.

I used vmware-any-any-update-116.tgz from:

http://groups.google.com/group/vmkernelnewbies/files

I installed VMware-workstation-5.5-setup.tar.gz.

After successful installation you will find that it fails to start with the following message:

[vitaliy@pcvitaliy libpng12.so.0]$ vmware
vmware: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
[vitaliy@pcvitaliy libpng12.so.0]$

The problem is in X code stuff. To correct it we can downgrade X package to more older or to do the following. Get http://glasstheplanet.org/debian/libX11.so.6

$VMWARE_PREFIX is wherever you told vmware to install. Default is /usr

mkdir $VMWARE_PREFIX/lib/vmware/lib/libX11.so.6
cp libX11.so.6 $VMWARE_PREFIX/lib/vmware/lib/libX11.so.6/libX11.so.6

Then edit $VMWARE_PREFIX/lib/vmware/lib/wrapper-gtk24.sh. Look for the part that looks like this: (For 1.0.6 this is line 65)
vm_append_lib 'libfreetype.so.6'
vm_append_lib 'libXft.so.2'
vm_append_lib 'libXrender.so.1'

Add a line after these that says:
vm_append_lib 'libX11.so.6'

You are all set. Now it should be OK.