How to install vmware server 2.0.x in Ubuntu 9.10 (Karmic)

Sponsored Link
VMware Server is a free virtualization product for Windows and Linux servers with enterprise-class support and VirtualCenter management. VMware Server is a robust yet easy to use server virtualization product and is based on proven virtualization technology, which has been used by thousands of customers for many years.
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 script using the following command


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


After downloading extract vmware-server.2.0.1_x64-modules- file

tar xvzf vmware-server.2.0.1_x64-modules-

Now run the patch script using the following command


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 script

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 file


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/". 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


After completing this you should run


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 "" and

Execution aborted.

Sponsored Link

Related posts

91 thoughts on “How to install vmware server 2.0.x in Ubuntu 9.10 (Karmic)

  1. If one starts vmware-install a second time and states “no” to the question to start vmware-config the the vmware user and the serial number settings will be installed correctly and the pitfall with the logon will disappear.

    my 2 cent’s – ubuntu admin

  2. I Installed vmware by this manual from other site… actually its works but….. there are some problems i found:

    vmware hangs when i trying to bind my cellular modem x950 novatel.. in 9.04 it was working whithout problems

    there is some bug with display manager. not all area of vm guest installed on vm is available for mouse events. so you can work clear from console.
    just from RDP connection if possable

    you still have to gedit /etc/fstab file for bind USB devices by adding next rows:

    usbfs /proc/bus/usb usbfs auto 0 0
    none /proc/bus/usb usbfs devgid=46,devmode=664 0 0

  3. Thanks for your guide.
    VM Server will now compile properly.
    I’m experiencing, though, problem with mouse pointer in virtual Windows XP. It is switching between the regular pointer and “hand with indexfinger pointed” – making mouse controlls in the virtual appliance totally useless – I can’t controll the desktop. On the other hand, desktopless virtual Linux-server installations work as charm as mouse is not needed.

  4. Try one of the solutions for mouse problem

    Solution 1

    Added these lines to my /usr/bin/firefox
    export VMWARE_USE_SHIPPED_GTK=force
    export GDK_NATIVE_WINDOWS=true

    Solution 2

    Go into

    /home/username/.mozilla/firefox/df34789dfgj/extensions/[email protected]/plugins/lib

    Then edit the file:

    I added the following lines near the top:
    export VMWARE_USE_SHIPPED_GTK=”force”

    So now the mouse appears to work correctly.

    Solution 3

    create this file using the bin/bash text.
    give it a name like
    make it executable
    run it and it loads the VMware machine

    ################################################## ##############################
    # Call VMWare Server's Remote Console in a clean GTK setup.
    ################################################## ##############################

    # Clean GTK setup for VMWare

    # Find console executable in Firefox plugins.
    vmrc="$(find "$HOME/.mozilla/firefox" -name vmware-vmrc -type f -perm -111 | tail -1)"
    [ -x "$vmrc" ] || exit 1

    set -x
    cd "$(dirname "$vmrc")" && "$vmrc" -h

  5. Just a linux newby comment, for the patch to be applied, you’ll need the build-essential module installed.

    Use ‘sudo apt-get install build-essential’ before applying the patch.

  6. Thank you – this worked perfectly. I was upgrading to Karmic from Jaunty on a 64 bit system.

    I agree, when asked, select to use a admin username of your own choice:

    The current administrative user for VMware Server is ”. Would you like to
    specify a different administrator? [no] yes

    Please specify the user whom you wish to be the VMware Server administrator

    … and then select your own username

  7. Thanks for the help but i REALLY want to do a VMWARE SERVER 1.X install on 9.10.

    Got anything on that?

  8. Solution 1 and 2 do not work for me to fix the foucs trouble.
    I really had it with this, I agree with the go for Virtual Box.

    Thanks anyway.

  9. Thanks so much for this, really helpful. I’m a ‘nix n00b but very familiar with VMWare solutions, I just wanted to eke a bit more performance out of a home setup. Your instructions worked like a charm.

  10. 12.

    How to install Ubuntu 9.10 in Net worked system, printer function, sharing etc with the help of screen shots

  11. Vincent, I tried 2nd solution and it worked. You just need to change quotation from those unicode thing, to normal double quotation mark.

  12. I needed the “build Essentials” before the patches worked.
    Then I still go errors re the vnnet module, however the process did complete, altho I suspect I may have network issues later.

    Presumabley at some point VMware will release a version which will run nativley on kernel 2.6.3x

    Tks for the guide

  13. Anyone got the script pre-built as in solution 3?

    I thought I was OK know a bit of Linux term etc. but building with bash, even google struggled to explain that. Just kept giving me sie that say “build with /bin/bash” yeap that helps.

    Make executable? again googles gave me loads of sites that repeats the instruction but none that really helped.

    Guessing it is truly easy and simple and most people just guess you could not know about it so they leave it out of the instructions.

    So for a know proven total noob it is not as simple as just saying it.

    A pre build or a link to a site that tells us how would really help.


  14. This has worked fine, (Ubuntu 9.10/2.6.31-14/VMware server 2.0.1) but now I’m having trouble with my (USB) keyboard.

    When using a (Windows XP) VM the arrow keys don’t work, except the down arrow key which appears to be mapped to the Windows key.

  15. Hi. thx for tut, works perfectly with:

    – Ubuntu 9.10
    – VMware-server-2.0.2-203138.x86_64
    – Kernel 2.6.31-16-server x86_64

    best regards,

  16. I am missing something, I caught the error when I tried the to install and it couldn’t build. When I run the patch I have this output:

    Found tar file for vmci module
    Found tar file for vmmon module
    Found tar file for vsock-temp module
    Found tar file for vmmon-temp module
    Found tar file for vsock module
    Found tar file for vmnet-temp module
    Found tar file for vmnet module
    Found tar file for vmci-temp module
    Using patch file: /usr/lib/vmware/modules/vmware-server.2.0.1_x64-modules-2.6.30
    Using module directory: /usr/lib/vmware/modules/source
    Using backup directory: /usr/lib/vmware/modules/source-backup
    Backing up ./vmci.tar to /usr/lib/vmware/modules/source-backup/./vmci.tar
    Backing up ./vmmon.tar to /usr/lib/vmware/modules/source-backup/./vmmon.tar
    Backing up ./vsock-temp.tar to /usr/lib/vmware/modules/source-backup/./vsock-tem
    Backing up ./vmmon-temp.tar to /usr/lib/vmware/modules/source-backup/./vmmon-tem
    Backing up ./vsock.tar to /usr/lib/vmware/modules/source-backup/./vsock.tar
    Backing up ./vmnet-temp.tar to /usr/lib/vmware/modules/source-backup/./vmnet-tem
    Backing up ./vmnet.tar to /usr/lib/vmware/modules/source-backup/./vmnet.tar
    Backing up ./vmci-temp.tar to /usr/lib/vmware/modules/source-backup/./vmci-temp.
    Untarring vmci.tar
    Untarring vmmon.tar
    Untarring vsock-temp.tar
    Sorry, vsock-temp.tar tarball failed to extract the directory vsock-temp-only

    Any thoughts?

    Ubuntu newbie.

    – Ubuntu Server 9.10 64b
    – VMware-server-2.0.2-203138.x86_64
    – Kernel 2.6.31-16-server x86_64

  17. I installed vmware on 9.10. Major problems, mouse downt work well at all, keyboard gets mucked up (shitft doesnt work ) xp vm will crash Vmware server when i power it down….


    Im going back to virtualbox.

    I use ubuntu b/c it just works , thats why im switching abck to virtualbox. I wanted to elarn vmware but not that badly. I dont ahve time to muck with it.

  18. chuff,

    does virtualbox on 2.6.31 work for you..
    it doesn’t for me. I get a command not found if I try to run /etc/init.d/vboxdrv ..

    I posted on virtualbox far no one as offerend a solution..


  19. After installing this on kubuntu 9:10 i get a ‘web service not available. the web service appears to be running and i check the ip which is listed in /etc/vmware/config.which i can ping. not sure but i believe there is a problem running this with apache on the same server. What a shame, stick to virtualbox. you may have to run
    sudo apt-get install build-essential
    before installing virtualbox

  20. The patch failed on my system when running the patch:
    Found tar file for vmnet module
    Found tar file for vmblock module
    Found tar file for vsock module
    Found tar file for vmci module
    Found tar file for vmmon module
    Using patch file: /home/me/download/vmware.patch/vmware-server.2.0.1_x64-modules-
    Using module directory: /usr/lib/vmware/modules/source
    Using backup directory: /usr/lib/vmware/modules/source-backup
    Untarring vmnet.tar
    Untarring vmblock.tar
    Untarring vsock.tar
    Untarring vmci.tar
    Untarring vmmon.tar
    Testing patch
    patching file vmci-only/Makefile
    patching file vmmon-only/linux/driver.c
    Hunk #1 succeeded at 1758 (offset -226 lines).
    patching file vmmon-only/linux/hostif.c
    Hunk #1 succeeded at 3437 with fuzz 2 (offset 15 lines).
    Hunk #2 FAILED at 3551.
    Hunk #3 FAILED at 3675.
    2 out of 3 hunks FAILED — saving rejects to file vmmon-only/linux/hostif.c.rej
    patching file vmmon-only/include/x86svm.h
    Hunk #1 FAILED at 47.
    1 out of 1 hunk FAILED — saving rejects to file vmmon-only/include/x86svm.h.rej
    patching file vmmon-only/Makefile
    Hunk #1 succeeded at 139 with fuzz 1 (offset 26 lines).
    patching file vmnet-only/Makefile
    Hunk #1 succeeded at 139 with fuzz 1 (offset 26 lines).
    patching file vmnet-only/netif.c
    Hunk #1 succeeded at 180 (offset -14 lines).
    Hunk #2 succeeded at 206 (offset -14 lines).
    Hunk #3 succeeded at 310 (offset -14 lines).
    Hunk #4 succeeded at 556 (offset -14 lines).
    Hunk #5 succeeded at 612 (offset -14 lines).
    Hunk #6 succeeded at 673 (offset -14 lines).
    patching file vsock-only/Makefile
    Sorry, problem with the patch, I can’t apply it

    My system is 2.6.31-16-generic x86_64.
    Googled but nothing interesting.

Leave a comment

Your email address will not be published. Required fields are marked *