How to install vmware server 2.0.x in Ubuntu 9.10 (Karmic)
Sponsored Link
First you need to download vmware server 2.0.x from vmware website and get the vmware server installation key
Currently we have a problems compiling vmware server under kernel version 2.6.31 so this tutorial will explain how to install vmware server 2.0.x in Ubuntu 9.10
Now we have VMware-server-2.0.2-203138.i386.tar.gz file so unpack this file
tar -zvxf VMware-server-2.0.2-203138.i386.tar.gz
go to vmware-server-distrib directory
cd vmware-server-distrib
Run vmware-install.pl script using the following command
./vmware-install.pl
Now you might receive compilation error messages so now you need to download required patch files from here in vmware-server-distrib directory these patches from vmware forum
You can use the following command to download patches
wget http://www.ubuntugeek.com/images/vmware-server.2.0.1_x64-modules-2.6.30.4-fix.tgz
After downloading extract vmware-server.2.0.1_x64-modules-2.6.30.4-fix.tgz file
tar xvzf vmware-server.2.0.1_x64-modules-2.6.30.4-fix.tgz
Now run the patch script using the following command
sh vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
Note:- This script will work 2.6.30,2.6.31 kernel versions
After each completing the patch installation you should see similar to the following message
After completing the patch installation you need to remove /usr/lib/vmware/modules/binary directory because The original VMware modules directory is still in the way so this will confuses VMware that is why we are removing this directory
rm -rf /usr/lib/vmware/modules/binary
Now run vmware-config.pl script
vmware-config.pl
This should complete the vmware server installation.
Now open your browser type https://PC-ipaddress:8333 once it opens you should see similar to the following screen
Whe you try to login using your ubuntu user login details you might see "You do not have permissions to login to the server" error this is because you need to enable root account on your ubuntu machine using this tutorial or login as user who is having root permissions
Once you login you should see similar to the following screen
Reinstall Vmware server
If you still having problems with your vmware server installation follow these steps
Delete the vmware modules using the following command
rm -rf /usr/lib/vmware/modules/
rm -rf /lib/modules/2.6.31-13-server/misc/vm*
Now kill all vmware processes manually
kill -9 $( ps -ef | awk ‘/vm/ { print $2 }' )
Now run vmware-install.pl file
./vmware-install.pl
at the time of installation where you see the following message type no and press enter
Before running VMware Server for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config.pl". Do you want this
program to invoke the command for you now? [yes] no
Now you need to run the patch script file using the following command
sh vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
After completing this you should run vmware-config.pl
/usr/bin/vmware-config.pl
Error message
When i try to install vmware server 2.0.2 under ubuntu 9.10 i got the following error so i installed the patch file with the procedure specified above
/tmp/vmware-config0/vmmon-only/linux/driver.c:2007: error: too many arguments to function ‘smp_call_function’
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/go/unsup-linux-products" and
"http://www.vmware.com/go/unsup-linux-tools".
Execution aborted.
Thanks!
Thanks! This was very helpful
Great tutorial. Took me forever thanks to older patches getting in the way. You might want to make a note to remove old entries from /usr/lib/vmware/modules/source. (Anything with old in it at least).
One other note: you don’t need to enable the root login to make this work in ubuntu. You can just set whatever user you like as the Administrator. I set myself and it works just fine.
Thanks ruchi for the excellent article.
Thank you very much for this tutorial – it was very helpful. In the end I was able to get up and running on my Ubuntu 9.10 machine and all is well.
EXCELENT!!!!!!
it was very very helpful.
Thanks you. so much.
Disculpen mi ingles, pero este tutorial ha sido excelene, me ha ayudado mucho para tener una maquina virtual en mi Pc con Ubuntu 9.10
I’m recently installed vmware server on a freshly installed and updated of version of Ubuntu 9.1.
Today I wanted to change the network setup, so I tried to run /urs/bin/vmware-config.pl. I got the error:
——————–
The following VMware kernel modules have been found on your system that were
not installed by the VMware Installer. Please remove them then run this
installer again.
vmnet
vmci
vmmon
I.e. – ‘rm /lib/modules/2.6.31-17-generic/misc/.{o,ko}’
Execution aborted.
—————–
I’m almost positive this is caused by the patched versions that were installed.
Is there some way I can run the script without recompiling? Or, make the version I have work?
I found the following (semi)related website…
http://communities.vmware.com/thread/60867;jsessionid=B3446B5E206F1A2E1E49D2D2C81EDC7B
Thanks a lot 🙂
very very helpful tutorial Ruchi …
This is the straight up pimp version of documention for installing vmware on Karmic Koala. Thanks for making it noob-proof.
Thx for the tutorial. But I cannot bring up the web interface?
Firefox can’t establish a connection to the server at 127.0.0.1:8333
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
VMware Server Authentication Daemon (background) done
Shared Memory Available done
Starting VMware management services:
VMware Server Host Agent (background) done
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines done
The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.
Fantastic tutorial. Got it working first time thanks to this. Thank you!
Its cool! This tutorial works very well for me, but after the instalation I try to install a W2K3 server and the combination keys CTRL+ALT+DEL don’t work for introduce the login screen.. =/
Do you have any idea about this?
I solved this through this link http://ubuntuguide.org/wiki/Ubuntu:Intrepid#Keyboard_errors_in_VMware_guest. Thanks!
Hi guys!
Hawe worked fine for me! Many thanks!
—
Enjoy,
–the VMware team
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
Virtual ethernet done
Bridged networking on /dev/vmnet0 done
Host-only networking on /dev/vmnet1 (background) done
DHCP server on /dev/vmnet1 done
Host-only networking on /dev/vmnet2 (background) done
DHCP server on /dev/vmnet2 done
NAT service on /dev/vmnet2 done
Host-only networking on /dev/vmnet3 (background) done
DHCP server on /dev/vmnet3 done
NAT service on /dev/vmnet3 done
Host-only networking on /dev/vmnet8 (background) done
DHCP server on /dev/vmnet8 done
NAT service on /dev/vmnet8 done
VMware Server Authentication Daemon (background) done
Shared Memory Available done
Starting VMware management services:
VMware Server Host Agent (background) done
VMware Virtual Infrastructure Web Access
Starting VMware autostart virtual machines:
Virtual machines done
The configuration of VMware Server 2.0.2 build-203138 for Linux for this
running kernel completed successfully.
—
Hi guys…!
Have problem with HTTPS acces to WMware Infrastructure webacces panel on Firefox. Some issue vith certification…! Trying to find out…!
But the HTTP conection works fine…
Use the http://localhost:8222 access on Firefox 3.5.7! Port 8222 is default setting in WMware setup script!
Have fun…
This tutorial does NOT work with VMware Server 2.0.2.
Building modules, stage 2.
MODPOST 1 modules
WARNING: “VMCIDatagram_CreateHnd” [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: “VMCIDatagram_DestroyHnd” [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: “VMCI_GetContextID” [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: “VMCIDatagram_Send” [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
CC /tmp/vmware-config0/vsock-only/vsock.mod.o
LD [M] /tmp/vmware-config0/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-19-server’
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config0/vsock-only’
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting ‘/tmp/vmware-config0/vsock.o’: -1 Unknown symbol in module
–Ian.
Tried the latest 2.0.2 vmware server dist. built on my Karmic Ubuntu.
Tried every published hack available.
The only way I could get it working was to revert back to Firefox 3.5.7, 3.6 did not work even after changing security settings in about:config
So confirm post above
I got 2.0 installed on a fresh install of 9.10, with all updates applied, but my mouse and keyboard are not behaving. Basically the mouse only works in the upper left hand quadrant of an XP window (fresh XP install as well on a new VM). Outside of that the mouse changes from an arrow to a “hand” and the buttons don’t work properly. If I try to close a window clicking on the upper right-hand X, it’s as if I am holding down the “9” key on the keyboard and everything locks up.
This is on a fairly recently built machine, standard MS keyboard and mouse, PS2 connected etc.
Ideas ?
Patch was not working on my clean install and message was not completely clear. Trying to validate patch by myself, I realized that patch utility was not installed, so I ran apt-get install patch and evereythig worked fine.
Good job! Thanks! Thank you! for a great post.
If when you run the sh script and you get an error;
vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh 71 patch not found.
You need to run ‘apt-get install patch’
then rerun the sh script.
Thanks a lot, it works for me.
I have used this fix multiple times, however, this time, it just won’t work. I have patch installed, I have the 64-bit version of Karmic, I have the source and header files installed, but the patch fails to work and the build fails. Any help would be appreciated.
Untarring vsock-temp.tar
Sorry, vsock-temp-tar tarball failed to extract the directory vsock-temp-only
Sorry, I am running kernel: 2.6.31-20-server x64, karmic 9.10.
Figured out my problem, didn’t have w access to the vmware-server-distrib folder. :-p
Hello,
i got this msg. when i run the script:
root@tiga:~/vmware-server-distrib# sh vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh
Found tar file for vmmon module
Found tar file for vsock module
Found tar file for vmnet module
Found tar file for vmci module
Using patch file: /home/tiga/vmware-server-distrib/vmware-server.2.0.1_x64-modules-2.6.30.4-fix.patch
Using module directory: /usr/lib/vmware/modules/source
Using backup directory: /usr/lib/vmware/modules/source-backup
Untarring vmmon.tar
Untarring vsock.tar
Untarring vmnet.tar
Untarring vmci.tar
Testing patch
vmware-server.2.0.1_x64-modules-2.6.30.4-fix.sh: 71: patch: not found
Sorry, problem with the patch, I can’t apply it
root@tiga:~/vmware-server-distrib#
the actual kernel version i’m using is 2.6.31-14-generic
would be great if someone can help me with this problem
Tiga – run ‘sudo apt-get install patch’ then rerun the fix script.
i have the same issue of Dave in a lenovo sl500 with 9.10 new installation.
Can someone help us ?
thanks
marco
please remove previous post without mail feedback
Great post! But i have a error here in my computer after the instalation the pack error:
/Área de Trabalho/vmware-server-distrib (2)$ sudo ./vmwar
e-server.2.0.1_x64-modules-2.6.30.4-fix.sh
cd: 22: can’t cd to /usr/lib/vmware/modules/source
Sorry, no tar files found in /usr/lib/vmware/modules/source
Can someone, please, help-me?
@jake
thank you, all worked fine 🙂