January 3, 2008 · General · Email This Post

Sponsored Link
We have already discussed about VMware server setup in gutsy.Now It is very important that you install VMware Tools in the guest operating system.With the VMware Tools SVGA driver installed, Workstation supports significantly faster graphics performance.The VMware Tools package provides support required for shared folders and for drag and drop operations.

Other tools in the package support synchronization of time in the guest operating system with time on the host, automatic grabbing and releasing of the mouse cursor, copying and pasting between guest and host, and improved mouse performance in some guest operating systems.

Click on VM in the top menu of the VMware Server console and select Install VMware Tools.

Now you should be able see the following screen here click on install

Now you should see similar to the following screen on your desktop

First copy the VMware Tools from the mounted iso to the temporary folder

cp /media/cdrom/VMwareTools-1.0.3-44356.tar.gz /tmp/

Afterwards switch to the temporary folder and unpack the VMware Tools:

cd /tmp/

tar xvfz VMwareTools-1.0.3-44356.tar.gz

Next switch to the folder with the unpacked files and execute the installer:

cd vmware-tools-distrib/

sudo ./vmware-install.pl

Now you will be asked a few questions relating to installation paths etc. Choose the default value every time (simply hit enter).

After the installation/configuration finished you have to start the VMware Tools:

vmware-toolbox &

Once it opens you should be able to see similar to the following screen

Vmware tools version details

Note: If you close the VMware Tools window, the VMware Tools will be disabled immediately.

Method 2

Another simple method to install Vmware tools using simple scripts check here

Sponsored Link

Related posts

49 Comments to “Howto Install vmware tools in Ubuntu”

  1. jean-claude says:

    Great document! I have 2 questions for you:

    1. Once you’re in Ubuntu, how do you know the vmware tools have started?

    2. I’m using vmware server 1.0.4 and my host is XP. When I’m Ubuntu, I can’t see my windows partition. How can I see it so that I may copy files?


  2. thE Masterkey Blaster says:

    Hi Jean-claude:

    for the 1. – you can see in systems->preferences->sessions… you can put it (/usr/bin/vmware-toolbox if you use the default) there to run in startup. Note: if you need shrink or scripts you mus run as root

    for the 2. you must configure your ubuntu for search the XP in the network and the XP to do the same… configuring SAMBA?

    take a look in:

    this is old I hope it is good http://www.vmware.com/support/ws3/doc/ws32_running9.html

    well my time…

    iยดm getting the following error every time I use vmware-config-tools.pl, it ocurr while configuring the net:

    If you wish to have the shared folders feature, you can install the driver by running vmware-config-tools.pl again after making sure that gcc, binutils, make and the kernel sources for your running kernel are installed on your machine. These packages are available on your distribution’s installation cd.

    someone help?

  3. thE Masterkey Blaster says:

    well, only more details from my error… before that msg I get:

    Building the vmhgfs module.

    Using 2.6.x kernel build system.
    make: Entering directory `/tmp/vmware-config0/vmhgfs-only’
    make -C /lib/modules/2.6.20-15-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic’
    CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o
    CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o
    CC [M] /tmp/vmware-config0/vmhgfs-only/dev.o
    CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o
    /tmp/vmware-config0/vmhgfs-only/driver.c: In function \u2018HgfsChangeFileAttributes\u2019:

    and some more

  4. Ryan says:

    Yo Masterkey

    I’ve got the same problem and I just typed “no”, then the installation kept running.
    after it finished i input “/usr/bin/vmware-toolbox” and the toolbox popped up…

    i guess typing “no” at that stage wouldn’t hurt

  5. Steve says:

    Thank you for the step by step instructions. After entering the location of the C headers

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

    I get the following error:

    The directory of kernel headers (version @@[email protected]@ UTS_RELEASE) does not match your running level (version Even if the midule were to compile successfully, it would not load into the running kernel.

    Any ideas how to fix this?

  6. imironov says:

    I simply installed package “vmware-player-kernel-modules-2.6.20-15” through sinaptic manager and vmware-toolbox works correctly.

  7. For your information, you don’t need to provide the ‘z’ option to tell tar what type of compressed archive you want to extract. Like our all, we become smarter ๐Ÿ˜‰

  8. michael w says:

    Hello, this is the best walkthough I have found but I’m having some problems following it. I have no Ubuntu background.

    I’ve extracted the .tar file, but I’m having no success opening the vmware-install.pl file. I’ve tried typing “sudo ./vmware-install.pl” which some other guides say to do as well, and I get the message “command not found”. If I click on the file to just open it like I would for windows, and click “run”, nothing happens.

    I really can’t work out what is going wrong.
    Any help would be very much appreciated,

  9. Steve S says:


    I am also very new to Ubuntu and have no experience with VMWare. The first time I installed VMWare Tools it seemed to worked but I lost all network access. I uninstalled the tools and network access was restored. But, I quickly discovered the VMWare is not really very useful without the tools. So, I tried again following the instructions on this site. So far, so good. The tools are installed and I have network access.

    None of this was easy. I had to learn some basic linux commands and how to move the directory structure. That’s ok, but I’m not that impressed with VMWare. I’d read great things about it but now, having tried it, my impression is that it lacks polish. It makes me think of the old dancing bear joke – the amazing thing is not how well the bear dances, but that it dances at all.


  10. Thang Ngo says:

    Steve, you can simply install vmware tools without the network drivers so that you’ll still have your network after you have the tools installed…
    At one point during the install where it asks you many questions there’s a question related to “vmxnet” just say no to installing that driver and you should be fine

  11. Thang Ngo says:

    Steve, you can also just install like normal then go into System > Administration > Network. Unlock that menu so you can access it, then select wired connection and click properties. Now uncheck “enable roaming mode” and select “Automatic configuration (DHCP)” for Configuration. Now just OK everything and your internet should work fine. Hope that helps =)

  12. Jimbosmooth says:

    Great directions. I performed this and am looking at the toolbox now, but it doesn’t seem that the tools installed. I still have to press Ctrl-Alt to get out of the window, and none of the other goodies are there. Any thoughts?

  13. Chungo says:

    Thanks for the tutorial. I can’t help but think that’s over complicated. I spent the best part of 2 hours trying to get these tools installed. Why can’t VMWare just create a DEB package with all the required elements in so it’s easier to install them?

  14. north says:

    getting nervous here..
    I running VMWARE Workstation 6.0.4 build 93057 on XPx64. I’ve installed Ubuntu 8.04 (32bit) and tried for 10 hours now (different tipps&tutorial tricks) to get a functional network. I have DLINK 301 router connected on a dsl modem and 3 other pc in a LAN. The router has and I’ve disabled DHCP.
    The hosts IP:, Subnet, default gateway, classic.
    In network connection I see 2 VMWARE Network adapters: VMNET1 and VMNET8 with IP’s assigned by DHCP: and

    I’ve installed VMWARE tools and assigned different IPs on the wired network. I don’t know how to configure it and I want to have a static IP.
    Any suggestion would be very much welcome.
    thx in advance

  15. John says:

    So apparently, vmware-install.pl won’t run. At all. I ‘m not sure how anyone else is running it, but I’m with Steve: no matter what I do in command-line, it doesn’t recognize this file as an executable.

    If I try to run it in the File Browser, it gives me a Run dialog, I click on Run… and the dialog disappears. Nothing else happens.

    No one else but me and Michael having this problem??

  16. Scot says:

    John, the vmware-install.pl is a Perl script. You should be able to run it using the perl command. Assuming you’ll need admin rights, you would do something like this: sudo perl vmware-install.pl

  17. Steve says:

    I have mounted the CD package fine from VMWare Server and that worked fine. Then I unzip the contents of the .tar package into a directory on my desktop called “sigh” From there, when I try running the install file in terminal mode- that fails. Looks like it flashes on my screen, but never does anything. No success.

    I’ve tried going into command or shell to find and run it from there using the sudo prefix. I can’t seem to find the path in command to my folder “sigh” located on my only user’s desktop.

    All of the suggestions and guides haven’t resolved my issue. I am not very Linux saavy and would appreciate a member responding to me for some help. I can’t imagine it being this difficult to extract files and run an installer.

  18. Toby says:

    Once you’ve unzipped the VMWare Tools tar, you’ll want to

    sudo ./vmware-install.pl

    and just hit return to agree to each question’s default.

    It’s a little squirrelly with Jaunty, though. I had to use synaptic to install the xorg vmmouse package, and I’m still wrestling with the video driver.

  19. Omar S says:

    hi. Im want to install vmware tools in ubuntu 8.10. Will this work for me?

  20. Ed Graham says:

    Excellent article; as a beginner to both VMWare and Ubuntu, this article was exactly what I needed. Thanks very much!

    (This worked for VMWare tools 2.0 in Ubuntu 8.10 desktop edition.)

  21. Marcio AB says:

    As the VMware CD also has a RPM package, is not an option to convert such RPM pack to DEB pack and install this pack ? Thanks

  22. lev says:

    absolutely nothing like a great guide.
    simple steps explaining what is intended outcome.
    i never really got to extract the tar to temp, but i did use the gui to extract it to a folder i know and then change to that directory and installed it from there. ^_^

    excellent article.

  23. arun says:

    I could not install the linux headers

  24. Mohammad says:

    It was an excellent article,
    I followed your instructions and now I have installed vmware-tools 8.1.4 on Ubuntu 9.1.

    Thanks a lot bros.

  25. Foxy says:

    Excellent article! Works perfectly with uBuntu 10.04 LTS Desktop Edition under VMWare 7.0. Thank you for sharing bro!

  26. Mark says:

    Installed 10.04 LTS on VMWare workstation 7.1. It installed the OS and VMWare tools automagically. Beautiful!

  27. jaya28inside says:

    wait, i already installed it.
    Although there’s numerous errors…
    no I mean, something unproperly.

    So then, once it all done.
    Yes, I could run the vmware-toolbox
    but,,, when I turned on the
    Service of Sharing Folder
    between Host and Guest … why there’s no
    result ? I mean, the folder shared is not

  28. Abhirami says:

    Ubuntu is not interesting. I dont like.
    i hate linux.
    microsoft is good.

  29. bel says:

    The directory of kernel headers (version @@[email protected]@ UTS_RELEASE) does not match your running level (version Even if the midule were to compile successfully, it would not load into the running kernel.

    What else do i need to do. its been 16hrs of searching and till now no luck!!!! ๐Ÿ™

    I already tried to use the above instruction also this one.

    /lib/modules/2.6.35-23-generic/build/include/linux but no luck!!! I can’t install the kernel-devel! pls help….

  30. massimo says:

    to install headers in the guest ubuntu system run:
    sudo apt-get install linux-headers-virtual

Leave a Reply

  • Recent comments