UPDATE: This tutorial has been updated to half as many steps.  Please use the updated tutorial available:  Installing VMware Server on Ubuntu 7.10 “Gutsy Gibbon” : Updated.

UPDATE: For those running VMware Server 1.0.3 there is an updated version available.

As I mentioned a few posts ago (How to Install VMware Server on Ubuntu 7.04) I would be outlining how to install VMware Server on Ubuntu 7.10. These steps are a bit different from Ubuntu 7.04, as the canonical commercial repository is not up to date with the alpha releases of Ubuntu 7.10. There is a workaround however that can help you get VMware Sever installed.

Installing VMWare Server on Ubuntu 7.10

  1. Download VMware Server source from the VMware website.
  2. Download this installer patch. (source reference)
  3. Extract all the archives to some location on your system (tar -zxvf VMware-server* ; tar -zxvf vmware*)
  4. Ensure that you have build-essential installed in order to compile these sources (sudo aptitude install build-essential)
  5. Install the xinetd server (sudo aptitude install xinetd)
  6. Run sudo ./vmware-install.pl located within the vmware-server-* unpacked archive.
  7. Select all the default options *EXCEPT* do not compile the modules at this point. (Do you want this program to try to build the vmmon module for your system? NO)
  8. Run sudo ./runme.pl located within the vmware-any* archive. This will launch step 8.
  9. Select the default options and this time answer YES to compile the proper modules.
  10. Run vmware-server using the command vmware or via your Applications Menu.

Basically, at this point, VMware Server needs to be installed manually from source until the canonical commercial repository catches up and Ubuntu 7.10 is final. Until then this should work for manually installing.

note: if you update your kernel you will need to re-run the scripts to regenerate and recompile VMware Server for your updated kernel. I’m guessing this close to beta and final releases that we wont have any more kernel updates.. but I’m sure that will soon prove me wrong. Just be aware.

UPDATE: This tutorial has been updated to half as many steps.  Please use the updated tutorial available:  Installing VMware Server on Ubuntu 7.10 “Gutsy Gibbon” : Updated.

I post tutorials very regularly on this site. You may want to consider subscribing to the RSS feed. Or if you'd prefer these tips sent to your inbox you can use Email Subscriptions.

Related Posts

Random Posts

-->

Comments

69 Responses to “How to Install VMware Server on Ubuntu 7.10”

  1. Igor Guerrero on September 26th, 2007 4:16 pm

    OMG OMG OMG….

    A link to my blog in ubuntu-tutorials :)
    I can’t believe it :’(

    Do you think if there is a chance that I can get syndicated to http://planet.ubuntu.com

    To much to ask right?… anyway is a pleasure to help you.

  2. Will Smith on September 26th, 2007 9:59 pm

    I got a little ahead of the game and installed vmware on gutsy before I read your post. It is up and running and seems to be doing fine. What does the patch do though? Should I reinstall and use the patch this time?

  3. sameer on October 1st, 2007 10:38 pm

    Hi,

    I tried to install vmware on 7.10 Beta and once I invoke it from terminal with “vmware” I get a message “vmware is installed, but it has not been (correctly) configured
    for this system. To (re-)configure it, invoke the following command:
    /usr/bin/vmware-config.pl.”

    When I invoke Vmware from Applications then the application dies. Can you please help?

    I already have a registration key. My build-essential is the newest version and so is my gcc. I get the same result with and without the vmware 113 patch.

  4. Allan on October 4th, 2007 9:52 pm

    Hi ,
    Thank you so much for this tutorial, it came in handy at the right time, also i think your site is great and that you have put a lot of effort on it, keep up the good work.

  5. centos on ubuntu with vmware server « Deadwait’s grave on October 5th, 2007 4:00 am

    [...] October 5th, 2007 I tried messing around xen, virtualbox and qemu but gave very easily, i guess thats because i primarily did not want to waste time installing, i finally installed vmware which was pretty easy to do as i just did word to word as on this tutorial http://ubuntu-tutorials.com/2007/09/26/how-to-install-vmware-server-on-ubuntu-710/ [...]

  6. marru on October 11th, 2007 11:27 am

    Hi all,

    I’m running ubuntu 7.10 (beta) with the latest updates. Kernel 2.6.22-14-generic.

    I’m having the same problem sameer had:

    “vmware is installed, but it has not been (correctly) configured
    for this system. To (re-)configure it, invoke the following command:
    /usr/bin/vmware-config.pl.”

    Also, what’s the patch for?

    Anyone?

    Thanks

  7. Ubuntu Tutorials on October 11th, 2007 11:59 am

    The patch takes care of making sure things get compiled correctly.

  8. How To Install VirtualBox Open Source Edition on Ubuntu 7.10 : Ubuntu Tutorials : Dapper - Edgy - Feisty - Gutsy on October 12th, 2007 8:18 am

    [...] previously written on how to install VMware Server on Ubuntu 7.10, install VMware Server on Ubuntu 7.04 and install VMware Tools, but installing VirtualBox has a few [...]

  9. Nate on October 18th, 2007 1:49 am

    Worked beautifully for me! Thanks!

  10. How To Install VMware Tools on Ubuntu Guests : Ubuntu Tutorials : Dapper - Edgy - Feisty - Gutsy on October 18th, 2007 5:26 pm

    [...] You may have seen my previous tutorials on installing VMware Server on Ubuntu 7.04 or installing VMware Server on Ubuntu 7.10. This tutorial should maintain compatibility with either host (servers running 7.04 or 7.10) in [...]

  11. geekster on October 20th, 2007 2:55 pm

    I ran through all the instructions and no joy, I got the not configured correctly error, did some more research and found a new any-any file “114″ at http://platan.vc.cvut.cz/ftp/pub/vmware/, I thought that would so it but same error, finally I found a note on one of the sites to remove a file as follows > sudo rm /etc/vmware/not_configured , that did it, up and running

  12. robjam.es » Install VMWare-Server on Ubuntu Gutsy (7.10) on October 20th, 2007 4:52 pm

    [...] Install VMWare Server - Configure on [...]

  13. Monty on October 20th, 2007 8:26 pm

    Worked perfectly. You saved the day for me! Thanks.

  14. tanakskool on October 20th, 2007 10:53 pm

    Hi.. This tutorial worked just fine to me.. Thanks!

  15. Kostas on October 21st, 2007 7:24 am

    Very good guide. Worked perfect for me.

    However, could you advise on how to uninstall it safely in case vmware-server appears on the Canonical repositories?

    Thank you very much.

  16. Sergaratas on October 21st, 2007 11:09 am

    lol ty, i love u i can’t run my virtual machines after install ubuntu 7.10 on my pc, now run perfectly :)

  17. luke on October 22nd, 2007 8:08 am

    Kostas, to uninstall VMWare Server, just open a terminal, and type ’sudo /usr/bin/vmware-uninstall.pl’. (No quotes)

  18. S on October 22nd, 2007 10:52 am

    I’m having the same issue as SAMEER…. any suggestions???

  19. Andrew on October 22nd, 2007 10:59 am

    I’m running VMware Server 1.0.3 Build 44356 and when I upgraded to ubuntu 7.10 I now get an error message in Vmware when I try to run my previously working vm machines. “Unable to change virtual machine power state: The process exited with an error:
    End of error message.”

    I attempted the patch above but it did not work. For instance there is no vmware-config.pl on my box.

    Any suggestions?

  20. mangust on October 22nd, 2007 11:52 pm

    no patch to 1.0.4!!!

  21. Jason on October 23rd, 2007 11:18 am

    1.0.4 patch?

  22. AK-47 on October 23rd, 2007 11:30 am

    Anyone that can’t launch vmware
    and gets a message that it should be reconfigured or can’t launch the application
    from the menu
    RUN THIS COMMAND.

    sudo rm /etc/vmware/not_configured

    Many thanks too geekster it worked perfectly for me.

  23. Jason on October 23rd, 2007 11:49 am

    I followed these steps exactly but still getting this:

    None of the pre-built vmmon modules for VMware Server is suitable for your
    running kernel. Do you want this program to try to build the vmmon module for
    your system (you need to have a C compiler installed on your system)? [no] yes

    Using compiler “/usr/bin/gcc”. Use environment variable CC to override.

    What is the location of the directory of C header files that match your running
    kernel? [/usr/src/linux/include]

    The path “/usr/src/linux/include” is not an existing directory.

    What is the location of the directory of C header files that match your running

  24. Duane on October 23rd, 2007 12:24 pm

    This worked perfectly… I did have to remove my old etc/vmware as my old installation was seen, but then this worked absolutely perfectly! THANKS!!! Duane

  25. sunil on October 24th, 2007 12:12 am

    On ubuntu 7.04 vmware server 1.04 was running successfully. Today I upgraded ubuntu to 7.10 and then vmware server failed to start. I followed your steps to reconfigure vmware using the script under vmware-any-any-update and here is the error that i’ve got.

    Building the vmmon module.

    Building for VMware Server 1.0.0.
    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config3/vmmon-only’
    make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic’
    CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
    CC [M] /tmp/vmware-config3/vmmon-only/linux/hostif.o
    CC [M] /tmp/vmware-config3/vmmon-only/common/cpuid.o
    CC [M] /tmp/vmware-config3/vmmon-only/common/hash.o
    CC [M] /tmp/vmware-config3/vmmon-only/common/memtrack.o
    CC [M] /tmp/vmware-config3/vmmon-only/common/phystrack.o
    CC [M] /tmp/vmware-config3/vmmon-only/common/task.o
    cc1plus: warning: command line option “-Wdeclaration-after-statement” is valid for C/ObjC but not for C++
    cc1plus: warning: command line option “-Wno-pointer-sign” is valid for C/ObjC but not for C++
    cc1plus: warning: command line option “-Wstrict-prototypes” is valid for Ada/C/ObjC but not for C++
    cc1plus: warning: command line option “-ffreestanding” is valid for C/ObjC but not for C++
    include/asm/page.h: In function ‘pte_t native_make_pte(long unsigned int)’:
    include/asm/page.h:112: error: expected primary-expression before ‘)’ token
    include/asm/page.h:112: error: expected ‘;’ before ‘{’ token
    include/asm/page.h:112: error: expected primary-expression before ‘.’ token
    include/asm/page.h:112: error: expected `;’ before ‘}’ token
    make[2]: *** [/tmp/vmware-config3/vmmon-only/common/task.o] Error 1
    make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic’
    make: *** [vmmon.ko] Error 2
    make: Leaving directory `/tmp/vmware-config3/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/download/modules/modules.html” and
    “http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html”.

    Execution aborted.

  26. sunil on October 24th, 2007 12:21 am

    Doh! To reconfigure I had used the script under “vmware-any-any-update109″ which was there in the machine. I downloaded “vmware-any-any-update109.tar.gz”, extract it and ran “runme.pl” script. It worked!!!!

  27. Mads Kristensen on October 24th, 2007 8:08 am

    You need to install xinetd for this to work.

  28. Sam Berry on October 24th, 2007 9:38 am

    Hello all,
    I did a new install of 7.10 and followed the instructions on installing vmware. I got the following message: need super-server inetd or xinetd. When I go to the package repository, neither are listed. Is there another way I can install xinetd ??

    Thanks,
    Sam

  29. Heikki Toivonen on October 24th, 2007 11:04 am

    I have installed VMWare Server for both Dapper and Gutsy by downloading the rpm package, and converting it to .deb with alien (–script -d options). Then I’ve double clicked the .deb from Nautilus, and it installed the package. Next I made sure I had xinetd and the build requirements installed, and run vmware-config.pl. VMware has seemed to run fine.

    http://chandlerproject.org/Journal/UbuntuGutsyGibbonOnLatitudeD820

  30. John on October 24th, 2007 12:20 pm

    After deleting /etc/vmware to get around uninstalling as Duane noted and then doing your steps 1 through 5, VMware server started and ran fine. In my case, the patch file, etc. weren’t needed. My original error message after installing Gutsy was “Unable to change virtual machine power state: The process exited with an error:
    End of error message.”

  31. Rob Ferguson on October 25th, 2007 11:44 am

    Do these instructions apply to the amd64 version of Gutsy? I’ve installed twice on my amd64 desktop machine and can’t get it to run. My laptop, which is an Intel cpu, had no problems with installation and execution. On the desktop, I get a lot of permissions errors (lots of vmware files were set to 600… I went through my 32-bit install on the laptop to compare permissions, and set permissions the same on the desktop but still no luck. After changing all the permissions, VMware server runs, but when I try to open a virtual machine I get the error message “VMware server error:”
    “VMware server must be set uid root, “/usr/lib/vmware/bin/vmware-vmx” is not.”

    I’ve checked, and it IS. Any ideas?

  32. uwe on October 25th, 2007 12:29 pm

    Thanks so much for this great help! Worked instantly, Thanks, Uwe

  33. JB on October 25th, 2007 2:25 pm

    Your instructions worked perfectly! Thanks

  34. Miguel on October 26th, 2007 5:56 am

    I get this message after your instructions.
    any sugestions ? of why. Using VMware-server-1.0.4-56528.tar.gz.
    Thanks,

    Creating a new installer database using the tar3 format.

    Installing the content of the package.

    In which directory do you want to install the binary files?
    [/usr/bin]

    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc]

    What is the directory that contains the init scripts?
    [/etc/init.d]

    Unable to copy the source file ./installer/services.sh to the destination file
    /etc/init.d/vmware.

    Execution aborted.

  35. Jason on October 26th, 2007 12:04 pm

    This fixed my problem:
    sudo aptitude install linux-headers-`uname -r`

  36. Brian on October 27th, 2007 9:48 pm

    I’ve now got vmware server up and running on gutsy, thanks to this tutorial. If you don’t have xinetd installed, the config script won’t complete. So make sure you grab that off synaptic.

  37. MisterT on October 28th, 2007 5:43 am

    Thanks for the tuto.
    I installed VMWare server on an official release of 7.10.

    Unfortunately, when I setup a VM (using “existing disk” I created with previous version of VMWare server running on previous version of Ubuntu), I get a message saying:
    “Unable to change virtual machine power state: The process exited with an error:
    End of error message.”

    I checked the log and found the error:
    “Version mismatch with vmmon module: expecting 138.0, got 137.0″

    Any idea what I should do ???
    Help !

    Thanks in advance,

  38. JJL on October 28th, 2007 3:22 pm

    I also had some trouble installing this but after installing xorg-dev all was fine

  39. JJL on October 28th, 2007 3:42 pm

    I had to install xorg-dev to get it working

  40. mr toto on October 29th, 2007 12:13 am

    this works 99% great in 7.10.

    it could not bridge to my wireless network but it worked with NAT. Wired network no problems found.

    had to change applications menu link properties to “terminal application” and command “sudo vmware” in order for the link to work

    I installed by using terminal as:

    sudo aptitude install build-essential xinetd

    I did not use the link provided above for xinetd.
    only the patch was downloaded from the provided link.

    other than the above great product, thank you

  41. Mark C on October 29th, 2007 5:08 am

    This fixed my VMWare issue after upgrading and you saved my life.

    Thanks!

  42. Doods Ambubuyog on October 30th, 2007 12:21 am

    i encountered an error - ‘Unable to build the vmmon module.’ which is caused by the g++ compatibility. just install the latest version to solve the issue.

    sudo apt-get install g++-4.1

  43. Pritesh on October 30th, 2007 4:55 pm

    I’m getting the same error as miguel.

    Creating a new installer database using the tar3 format.

    Installing the content of the package.

    In which directory do you want to install the binary files?
    [/usr/bin]

    What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
    [/etc]

    What is the directory that contains the init scripts?
    [/etc/init.d]

    Unable to copy the source file ./installer/services.sh to the destination file
    /etc/init.d/vmware.

    Execution aborted.

    Please help?

  44. erik on October 30th, 2007 8:19 pm

    this is the second to last requirement to drop my windows partition. is there an easy way to drag and drop files between vmware server and ubuntu?

    great tutorial. thanks,
    erik

  45. Crooked Press | links for 2007-10-31 on October 30th, 2007 9:22 pm

    [...] How to Install VMware Server on Ubuntu 7.10 Ubuntu Tutorials : Dapper - Edgy - Feisty - Gutsy (tags: vmware ubuntu gutsy howto tutorial) [...]

  46. Tech Ops Chronicles » Blog Archive » Installing VMware Server on Ubuntu Gutsy Server (7.10 cli-only) on October 31st, 2007 10:37 am

    [...] Moving on, I need to give credit where it is due. I pulled the x11 dependancies from a comment over at the HowToForge from AdamLis that states the bare essentials to get the x11 components installed without pulling the entire core system. That thread is located here. Second, the actual install process I pulled from ubuntu-tutorials. [...]

  47. Jonas on October 31st, 2007 1:27 pm

    Running: sudo rm /etc/vmware/not_configured
    saved the day.

    Thank you very much.
    /Jonas

  48. mr toto on October 31st, 2007 8:04 pm

    “i encountered an error - ‘Unable to build the vmmon module.’ which is caused by the g++ compatibility. just install the latest version to solve the issue.

    sudo apt-get install g++-4.1″

    Does this mean we don’t need the patch???

  49. Michael on November 1st, 2007 1:14 pm

    I got to step 6, then got
    “command not found”

    any idea what I am doing wrong?

  50. james on November 1st, 2007 2:56 pm

    Now that 7.10 is out, has vmware caught up with the repository so we dont need to do this? or are there different directions we should use?

    Thanks

  51. MonZ on November 1st, 2007 7:07 pm

    Thanks heaps ^-^

    Works for me right away… save my day!!

    Keep it up.

  52. John on November 2nd, 2007 3:14 pm

    This is dynamite info.

    Can anyone please tell me if they have gotten the USB ports to work in the guest OS?

    The few apps that keep me in windows, use USB, such as syncing to my pocketPC, loading up the GPS with geocache data, etc. I know a flash device or camera works.

    Thanks

    John

  53. Humphrey on November 2nd, 2007 4:07 pm

    When running runme.pl I got this message:
    The path “/include/linux” is not an existing directory.

    I installed kernel version 2.6.20-16-generic

    Any help appreciated
    Thx

  54. looking east » Blog Archive » Installation of Redflag on November 4th, 2007 8:24 am

    [...] have finally successfully installed a running VMWare server on my Ubuntu machine. The following steps should have then allowed me to install Redflag Linux as a virtual [...]

  55. looking east » Blog Archive » HowTo: Installing Redflag Linux with VMWare on Ubuntu 7.10 on November 5th, 2007 11:43 am

    [...] The following steps can also be found in the Ubuntu tutorials. [...]

  56. Geert on November 5th, 2007 2:16 pm

    Thanks for the tutorial.
    VMWARE Up and running!

  57. Tomek on November 9th, 2007 3:37 am

    I’ve encountered following problem:
    In which directory do you want to install the documentation files?
    [/usr/bin/doc/vmware]

    The path “/usr/bin/doc/vmware” does not exist currently. This program is going
    to create it, including needed parent directories. Is this what you want?
    [yes] yes

    Unable to get the access rights of source file “./vmware-vix/bin”.

    Execution aborted.

  58. Hoody on November 9th, 2007 11:49 am

    I just downloaded and installed the VMware Server 1.0.4 (newest version) from vmware.com in tar.gz format on my Ubuntu 7.10, and it reported no errors at all - even when I went ahead and answered Yes to compiling the network module right away.

    Are there still reasons why I should apply the any-any patch? It doesn’t seem necessary on my system anyways.

  59. hani on November 11th, 2007 10:30 am

    I have tried everthing, and I keep failing after VMPerl Scripting API…it installs fine, but the very next thing is “Generating SSL Server Certificate”, and then I get the following:
    Unable to get the last modification timestamp of the destination file
    /etc/vmware/ssl/rui.key

    Execution aborted

    Please help!!!….I have tried everything state in this thread.

  60. biggdeedubb on November 11th, 2007 10:27 pm

    the vmware-install.pl is not in the vmware-server-distrib folder. I look in the Files Text sheet and see that it says it should be there but it is not there. What am I doing wrong?

  61. Cristian on November 14th, 2007 12:28 am

    What does your patch do? I have installed vmware 1.0.4 on Gutsy and it works out of the box, no patch needed.

    Is the patch for older kernels, perhaps? 2.6.20?

  62. mitchell on November 15th, 2007 3:32 am

    im using gutsy gibbon and after finishing everything vmware is aksing me for a serial number why is that????

  63. MankyGitt on November 15th, 2007 6:02 pm

    Fellow troubled souls.. apologies if this appears twice. Keen to get it to you, but the page keeps crashing…

    I have prepared the following, having had most of the same problems in this discussion:

    You can run VMWare Server in 7.10 (Gutsy Gibbon) if you download and manually install it as described in the above tutorial.

    Follow the steps exactly - AND….
    (check my post at)
    https://bugs.launchpad.net/bugs/155362

    Good luck, and best wishes

    MankyGitt

  64. Toxygene on November 16th, 2007 4:23 am

    Hi,
    nice tutorial, truthful :). This one is really working(Gutsy Gibbon 32bit && 64bit)

  65. Ajeet on December 9th, 2007 10:23 pm

    I installed ubuntu 7.10 and tried to intsall Vmware.It threw the error:
    ————-
    vjs@saturn:~$ sudo apt-get install build-essential linux-headers-`uname -r`
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    linux-headers-2.6.22-14-generic is already the newest version.
    You might want to run `apt-get -f install’ to correct these:
    The following packages have unmet dependencies:
    build-essential: Depends: libc6-dev but it is not going to be installed or
    libc-dev
    Depends: g++ (>= 4:4.1.1) but 4:4.0.3-1 is to be installed
    Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
    g++: Depends: g++-4.0 (>= 4.0.3) but it is not installable
    Depends: gcc-4.0 (>= 4.0.3) but it is not installable
    E: Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).
    vjs@saturn:~$
    ———————–

    Any help???

  66. unai on March 2nd, 2008 5:15 am

    for Vmware with wireless bridge and kernel 2.6.24

    http://liken.otsoa.net/blog/index.php?entry=entry080301-173023

  67. MoronPills on March 3rd, 2008 6:37 pm

    i know this sounds stupid but when i enter the sudo apt-get update && sudo apt-get install vmware-server command after i finsh downloading it gives me this license thing and i see some text that says “Ok” but i cant click it and i cant continue.

  68. Simon on March 11th, 2008 2:57 am

    If you are using VMware Server 1.04 you need to get hold of vmware-any-any-update115.

  69. Gagan on July 17th, 2008 5:02 am

    Thanks this fixed my problem

Leave a Reply




    OSCON


    OSCON 2008

    Subscribe to the RSS feed!


    subscribe to the ubuntu tutorials RSS feed

    Polls


  • Regarding the Ads on Ubuntu Tutorials...

    • I dislike all web-based ads and use AdBlock (or similar) to destroy them! (49%, 155 Votes)
    • I don't mind the text-based ads on ubuntu-tutorials.com and currently view them. (31%, 99 Votes)
    • I would be willing to disable AdBlock (or similar) for this site considering I have found it helpful. (16%, 51 Votes)
    • I subscribe to ubuntu-tutorials.com via RSS or email so ads are a non-issue. (15%, 48 Votes)
    • I'd be willing to use the "Donate" button instead of see ads. (5%, 17 Votes)

    Total Voters: 316

    Loading ... Loading ...

  • Blogroll

  • Ads by Google