Howto Install vmware tools in Ubuntu

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

Incoming search terms:

Related posts

49 thoughts on “Howto Install vmware tools in Ubuntu

  1. 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?

    Thanks

    [Reply]

  2. 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:
    http://pubs.vmware.com/server1/vm/wwhelp/wwhimpl/js/html/wwhelp.htm?href=network_gsx.html#1062056

    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?

    [Reply]

  3. 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

    [Reply]

  4. 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

    [Reply]

  5. 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 @@VMWARE@@ UTS_RELEASE) does not match your running level (version 2.6.22.14-generic). Even if the midule were to compile successfully, it would not load into the running kernel.

    Any ideas how to fix this?

    [Reply]

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

    [Reply]

  7. 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,
    Thanks
    Michael

    [Reply]

  8. Michael,

    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.

    Steve

    [Reply]

  9. 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

    [Reply]

  10. 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 =)

    [Reply]

  11. 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?

    [Reply]

  12. 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?

    [Reply]

  13. 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 192.168.0.1 and I’ve disabled DHCP.
    The hosts IP: 192.168.0.4, Subnet 255.255.255.0, default gateway 192.168.0.1, classic.
    In network connection I see 2 VMWARE Network adapters: VMNET1 and VMNET8 with IP’s assigned by DHCP: 12.168.107.1 and 192.168.58.1

    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

    [Reply]

  14. 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??

    [Reply]

  15. 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

    [Reply]

  16. 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.

    [Reply]

  17. 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.

    [Reply]

  18. 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.)

    [Reply]

  19. 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

    [Reply]

  20. 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.
    thanks.

    [Reply]

  21. 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.

    [Reply]

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

    [Reply]

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

    [Reply]

  24. 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
    appeared….

    [Reply]

  25. The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running level (version 2.6.22.14-generic). 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….

    [Reply]

Leave a comment

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