VMware Communities
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
RDPetruska
Leadership
Leadership

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?

Use the Workstation 5.5.2 tools if you've updated to 5.5.2. Ubuntu 6.x is now a supported guest in that version of Workstation, so the tools should be fine. Just follow the normal installation procedure outlined in the user manual.

0 Kudos
wrightdk
Contributor
Contributor

/media/cdrom0/b.vmware-tools.modules.binary.bld-2.6.16.21-0.8-i586debug-sles10

/media/cdrom0/bug-sles10

/media/cdrom0/bug-sles10.objects.vmxnet.o

/media/cdrom0/ld-2.6.16.21-0.8-i586kdump-sles10

/media/cdrom0/ld-2.6.16.21-0.8-i586smp-sles10

/media/cdrom0/les10.objects.vmxnet.o

/media/cdrom0/ult-sles10.objects.vmdesched.o

This is the contents of the linux.iso, after double clicking on the VMware tools cd on the desktop. Where there used to be a vmware-install.pl in the 5.5.1 release, there isn't one here. I'm rather new to linux and after following the instructions, still cannot see how to do it...

Any suggestions?

Thanks!!

I just installed rpm, and now I show 2 objects in the VMware tools cd-rom the .rpm file , and the .tar.gz file,

Message was edited by:

wrightdk

0 Kudos
ahmahmahm
Contributor
Contributor

Hello pmilligan, thanks for posting these instructions, they helped me. I think you need to edit them again slightly - the apt-get commands to install build-essential and linux-headers need to be 'apt-get install ...'.

cheers, Andy

0 Kudos
doghausdev
Contributor
Contributor

/media/cdrom0/b.vmware-tools.modules.binary.bld-2.6.16

.21-0.8-i586debug-sles10

/media/cdrom0/bug-sles10

/media/cdrom0/bug-sles10.objects.vmxnet.o

/media/cdrom0/ld-2.6.16.21-0.8-i586kdump-sles10

/media/cdrom0/ld-2.6.16.21-0.8-i586smp-sles10

/media/cdrom0/les10.objects.vmxnet.o

/media/cdrom0/ult-sles10.objects.vmdesched.o

This is the contents of the linux.iso, after double

clicking on the VMware tools cd on the desktop.

Where there used to be a vmware-install.pl in the

5.5.1 release, there isn't one here. I'm rather new

to linux and after following the instructions, still

cannot see how to do it...

ny suggestions?

Thanks!!

I just installed rpm, and now I show 2 objects in the

VMware tools cd-rom the .rpm file , and the .tar.gz

file,

Message was edited by:

wrightdk

I am having this same problem, but I don't understand how you solved it?

0 Kudos
crenner
Contributor
Contributor

/media/cdrom0/b.vmware-tools.modules.binary.bld-2.6.16

.21-0.8-i586debug-sles10

/media/cdrom0/bug-sles10

/media/cdrom0/bug-sles10.objects.vmxnet.o

/media/cdrom0/ld-2.6.16.21-0.8-i586kdump-sles10

/media/cdrom0/ld-2.6.16.21-0.8-i586smp-sles10

/media/cdrom0/les10.objects.vmxnet.o

/media/cdrom0/ult-sles10.objects.vmdesched.o

This is the contents of the linux.iso, after

double

clicking on the VMware tools cd on the desktop.

Where there used to be a vmware-install.pl in the

5.5.1 release, there isn't one here. I'm rather

new

to linux and after following the instructions,

still

cannot see how to do it...

ny suggestions?

Thanks!!

I just installed rpm, and now I show 2 objects in

the

VMware tools cd-rom the .rpm file , and the

.tar.gz

file,

Message was edited by:

wrightdk

I am having this same problem, but I don't understand

how you solved it?

I also was having the exact same problem. I looked at the ISO in another Windows tool (WinImage), and I could see the tarball and the RPM instead of all those other zero byte files. I assumed this was a problem with VMWare not playing nicely with Ubuntu, so I manually extracted these two files from the ISO in Windows into a network share. I then used the Browser in Ubuntu to copy the files to a location on the Ubuntu VM where I could use them.

The irony is that immeadiately after I did this, the CD image started working correctly in Ubuntu. Strange.

0 Kudos
acmans
Contributor
Contributor

I just installed Ubuntu 6.0.6 in Vmware Workstation 5.5.2 (latest).

First I ran apt-get update and apt-get upgrade. (Kernel was already the latest so a new kernel was NOT installed).

Then i ran apt-get install gcc-4.0 make linux-headers-$(uname -r) which was successful.

I selected "Install Vmware-Tools" from the Vmware window and mounted it to /cdrom

I copied /cdrom/VMwareTools-5.5.2-29772.tar.gz to /tmp and extracted it.

I ran /tmp/vmware-tools-distrib/vmware-install.pl (selected all default settings).

It asked me to compile modules i selected yes

Then the configuration ran and completed successfully.

I restarted networking.

All is working well except vmware-user.

I added vmware-toolbox to my session startup programs and it works fine.

I can leave the Vmware window without pressing Ctrl-Alt

However, vmware-user is not running.. when I tried to run manually..i got the following:

vmware-user: error while loading shared libraries: libglib-1.2.so.0: cannot open shared object file: No such file or directory

Any ideas?

0 Kudos
nichmj
Contributor
Contributor

However, vmware-user is not running.. when I tried to run manually..i got the following:

vmware-user: error while loading shared libraries: libglib-1.2.so.0: cannot open shared object file: No such file or directory

Any ideas?

I had the same message when I tired to run vmware-user in Fedora Core 6.

Within the /usr/lib/vmware-tools/lib32/ directory there are 4 other folders.

libglib-1.2.so.0/

libgdk-1.2.so.0/

libgmodule-1.2.so.0/

libgtk-1.2.so.0/

Within each is the corresponding file.

I made a symbolic link between each of the above files to the a file with the same name but within /usr/lib/

For example:

ln /usr/lib/vmware-tools/lib32/libglib-1.2.so.0/libglib-1.2.so.0 /usr/lib/libglib-1.2.so.0

After making the 4 symbolic links, vmware-user ran.

I'm not sure if doing that has any adverse effects since I'm new to Linux/Fedora but so far its been working.

0 Kudos
dave-gallagher
Contributor
Contributor

If you're running Ubuntu Server 6.10 (and I assume the same for the desktop version, 6.10 as well), the kernel was compiled with GCC 4.1.2, and not GCC 4.0.4.

If you're running 6.10 of Ubuntu, you should install the same version of GCC that was used to compile your kernel, which is 4.1. So if you're following the steps in jameslin's[/b] post, you should run these commands instead:

# Install gcc-4.1, make, and appropriate Linux kernel headers[/i]

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

# Create a symlink for gcc -> gcc-4.1[/i]

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

If you already accidentally ran jameslin's[/b] original commands and installed GCC-4.0.4 instead, you can undo your actions and install GCC 4.1.2 by doing the following:

# These two commands remove GCC 4.0 and install GCC 4.1:[/i]

$ sudo apt-get remove gcc-4.0

$ sudo apt-get install gcc-4.1

# These two commands remove the old symlink you created for gcc 4.0, and create a new one for gcc 4.1:[/i]

$ sudo rm /usr/bin/gcc

$ sudo ln -s /usr/bin/gcc-4.1 /usb/bin/gcc

Now you can continue to install vmware tools:

NOTE: Make sure you run these commands locally on the PC, and not over SSH as it won't work - vmware has to drop the network connection 1/2-way through installation to complete, making a remote SSH install destined to fail.[/b]

1) In VMWare Server, go to: VM -> Install VMWare Tools

2) Mount the CD-Rom in Ubuntu: sudo mount /dev/cdrom /media/cdrom0

3) sudo mkdir /vmware-temp

4) sudo cp VMwareTools-1.0.2-39867.tar.gz /vmware-temp

5) cd /vmware-temp

6) ls -l

7) tar xvf VMwareTools-1.0.2-39867.tar.gz

😎 cd /vmware-temp/vmware-tools-distrib

9) sudo ./vmware-install.pl

10) Follow the instructions.

11) When done, remove the temp directory: sudo rm -r /vmware-temp

0 Kudos
ppetir
Contributor
Contributor

Hi, dhs13

So, what exactly is the right folder?

0 Kudos