Tuesday 15 June 2010

vmware server 2.0.2 and slackware 13.1 (kernel 2.6.33.4)

vmware server + linux 2.6.33.x: here is the "poor man" solution:

First, You should use the 2.6.32.xx instructions at http://risesecurity.org/2010/04/02/vmware-server-2-0-2-update-patch-2/

Then instead of patching all the linux/autoconf.h, you should simply create some missing symbolic links on you src. tree:

For example, if you have the src put in /usr/src/Linux/Kernel/linux-2.6.33.2, cd in subdir include/linux

cd /usr/src/Linux/Kernel/linux-2.6.33.2/include/linux;

Make the necessary sybolic links

ln -s ../generated/utsrelease.h; ln -s ../generated/autoconf.h

That's all: reinstall as the usual the vmware server

sudo vmware-config.pl

If you have some problems with the console firefox plugin, there are 2 solutions:

solution1: you should add the entry

export GDK_NATIVE_WINDOWS=1

to the script http://codebin.cotescu.com/vmware/start-VMware-console.sh, like the sample patch

{noformat} #diff -Naur start-VMware-console.sh start-VMware-console.sh.new
--- start-VMware-console.sh 2009-12-22 17:17:25.000000000 +0100
+ start-VMware-console.sh.new 2010-03-31 15:34:00.082889804 +0200
@@ -6,8 +6,8 @@
################################################################################

# Clean GTK setup for VMWare
-export VMWARE_USE_SHIPPED_GTK=yes
-
+#export VMWARE_USE_SHIPPED_GTK=yes
+export GDK_NATIVE_WINDOWS=1
# Find console executable in Firefox plugins.
vmrc="{color:#007800}$(find "$HOME/.mozilla/firefox" -name vmware-vmrc -type f -perm -111 | tail -1)"
{color:#7a0874} -x "{color:#007800}$vmrc" {color:#7a0874} || exit 1{noformat}{noformat}

solution2: add {noformat}{noformat} export GDK_NATIVE_WINDOWS=1
{noformat}{noformat}in the second line of the file $HOME/.mozilla/firefox/yourprofile/.extensions/VMwareVMRC@vmware.com/plugins/lib/wrapper-gtk24.sh
{noformat}

1 comment:

Thiago Linhares said...

I never, ever, like really never answer anything for any post...

BUT, i should really THANK YOU A LOT!

After hours searching, finally someone gave an simple and workable SOLUTION for my problem hehe

Thanks a lot!