wiwe
Contributor
Contributor

How to install Vmware Tools on Ubuntu 6.0.6

Hi. I searched the forum for installing vmware tools on Ubuntu 6.0.6 . As a new ubuntu user , i am not familiar with linux issues , even don't know what is X, RPM installer. Could you explain the install process of Vmware Tools using the terminal in a simple and step by step way, please.Thanks

0 Kudos
28 Replies
admin
Immortal
Immortal

From a fresh Ubuntu 6.06 installation, the following should work (# denotes comments, $ denotes the terminal prompt):

\# Install gcc-4.0, make, and appropriate Linux kernel headers

$ sudo apt-get install gcc-4.0 make linux-headers-$(uname -r)

\# Create a symlink for gcc -> gcc-4.0

$ sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc

Select VM > Install VMware Tools from the VMware Workstation menu to mount the Tools ISO image.

\# Extract and install the Tools.

$ cd /tmp

$ tar xvfz /cdrom/VMwareTools-5.5.1-19175.tar.gz

$ cd vmware-tools-distrib

$ sudo ./vmware-install.pl

0 Kudos
osde_info
Enthusiast
Enthusiast

In Debian / Ubuntu "make" is a separate package you'll need to use apt-get aptitude or synaptic to get it from the 'developer' group.

Building an Ubuntu 6.06 VM on VMware Server (and installing VMware (Server) Tools) and then moving it to VMware Workstation seems to allow you to use the X VMware Tools !

Maybe I could just copy and use VMware (Server) Tools on a VMware Workstation VM !

See https://wiki.ubuntu.com/VmwareWorkstation

regards clive http://vizz.info
0 Kudos
lucas_clemente
Contributor
Contributor

What about those of us that don't have VMware server?

0 Kudos
telfred
Expert
Expert

VM Ware Server is a free product from VM Ware, so just get a copy off the web site Smiley Wink

0 Kudos
RDPetruska
Leadership
Leadership

What about those of us that don't have VMware server?

Either download a copy of it (it's free); or, follow the original links and use the workarounds described in many posts. Smiley Happy Or, wait for a Workstation refresh update (5.5.2 perhaps?).

If you download Server just to get the VMware Tools, it's easier if you download the Linux tarball distribution, open that in WinZip (or other utility), and just extract the tools ISO files.

0 Kudos
osde_info
Enthusiast
Enthusiast

Copy VMwareTools-1.0.0-24927.tar.gz from vmwsvr

Install VMwareTools-1.0.0-24927.tar.gz

Vmware tools now work on Xubuntu !

regards clive http://vizz.info
0 Kudos
lucas_clemente
Contributor
Contributor

It works! (I downloaded the vmware server .tar and extracted linux.iso) the server verison of vmware-tools does the job!

0 Kudos
rxhui
Contributor
Contributor

Were you able to get xubuntu to automatically change the display resolution when you resize the window?

I believe this is called the autofit guest feature. With Ubuntu 6.06, I was able to get the display resolution to automatically change on window resize, but it's not working in Xubuntu.

All the other VMware tools features work for me in xubuntu except for the automatic resolution change.

0 Kudos
rxhui
Contributor
Contributor

I found the solution. The Vmware guest tools do not set up vmware-user to automatically run on bootup with Xubuntu as it does with Ubuntu. When I launch vmware-user manually from the console, I am able to get guest autofit i.e. the resolution automatically changes when the window is resized.

0 Kudos
dhs13
Contributor
Contributor

I am having problems getting the install scrip to run. The source of the problem is that the script can't find the C headers in /usr/src/linux-headers-2.6.15-23-386.

I have tried to make a symlink from /usr/bin/linux-headers-2.6.15-23-386 .

That failed.

Any suggestions>

thanks

0 Kudos
osde_info
Enthusiast
Enthusiast

You've upgraded your kernel haven't you ? You'll need to get the latest headers that match your kernel using synaptic | development | linux-headers-xxxx

https://help.ubuntu.com/community/VmwareWorkstation

"...before you install Vmware make sure you have used AptGetHowto, AptituteHowTo or SynapticHowTo to load the following packages..."

regards clive http://vizz.info
0 Kudos
dhs13
Contributor
Contributor

Yes, I did. Also the link to vmware on this URL is bad. The problem is that the "script" for vmware-tools expects to find the linus headers in one spot and but Drapper installs the headers in another place.

0 Kudos
dhs13
Contributor
Contributor

I was finally able to install vmware tools. It about 25 times get the script to locate the right folder to find the headers.

0 Kudos
osde_info
Enthusiast
Enthusiast

sorry to hear that you had a problem with the link here are some more vmware links from the ubuntu wiki

https://wiki.ubuntu.com/?action=fullsearch&context=180&value=vmware&titlesearch=Titles

regards clive http://vizz.info
0 Kudos
pmilligan
Contributor
Contributor

A few added comments and an "I just did this and it worked" script.

As per Ubuntu forum VMware Tools that comes with vmware workstation / player does not work.

The latest VMware server is 27828

iso file is in VMware-server-1.0.0-27828.tar.gz at vmware-server-distrib\lib\isoimages\linux.iso =>(for those who can't find it!)

the build-essential[/b] package has gcc, gcc++ and make so I use it rather than trying to load individual packages

If you mount linux.iso as CD drive then you do the following in (k)ubuntu 6.0.6

K Menu=>system=>konsole[/b]

$sudo bash

#apt-get update

#apt-get upgrade

(see note below)[/b]

\# apt-get build-essential

#apt-get linux-headers-$(uname -r)

#cd /tmp

#mount /cdrom

#tar xvfz /cdrom/VMwareTools-1.0.0-27828.tar.gz

#cd vmware-tools-distrib

#./vmware-install.pl

Accept defaults for all questions and hey-presto it installs

you have to restart X by logging out or rebooting the system to get everything working.

Further notes[/b] I upgraded my system to latest before installing vmware tools, it just seems sensible to me.

However please note that if you upgrade using apt-get update[/b] and apt-get upgrade[/b] and a new kernel is installed you need to reboot before continuing of you will download the wrong kernel headers

Hope this helps

Message was edited by:

pmilligan

To correct possible problem caused by upgrade

0 Kudos
mariusak
Contributor
Contributor

I'm really sorry to ask this, but after a frustrating afternoon i give up...

Where on earth can I downloade this file? VmwareTools-1.0.0-24927.tar.gz[/b]

I'm confused..

Thanks for your help...

Cheers,

Marius

0 Kudos
RDPetruska
Leadership
Leadership

Where on earth can I downloade this file?

VmwareTools-1.0.0-24927.tar.gz[/b]

Nowhere. It's contained in the "Linux.iso" file in your VMware folder. Well, technically, the one in your workstation folder isn't the same version as the one you're asking about - that one comes from the latest version of VMware Server 1.0. See the manual... http://www.vmware.com/support/ws55/doc/ws_newguest_tools_linux.html

Rob

0 Kudos
mariusak
Contributor
Contributor

Thanks.. now i got it..

0 Kudos
wrightdk
Contributor
Contributor

The linux.iso has different contents with the 5.5.2 release of workstation. Is there a new method to install workstation tools now? Or should I do as the rest have done and use server tools?

0 Kudos