VMware
1 2 Previous Next 28 Replies Last post: Jul 9, 2007 6:46 AM by ppetir   Go to original post

Re: How to install Vmware Tools on Ubuntu 6.0.6

15. Jul 3, 2006 8:40 AM in response to: osde.info
Click to view pmilligan's profile Lurker 5 posts since
Nov 17, 2005
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 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

$sudo bash
#apt-get update
#apt-get upgrade

(see note below)

# 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 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 and apt-get upgrade 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

Stupid Question

16. Jul 17, 2006 6:39 AM in response to: pmilligan
Click to view mariusak's profile Lurker 5 posts since
Jul 16, 2006
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

I'm confused..

Thanks for your help...

Cheers,

Marius

Re: Stupid Question

17. Jul 17, 2006 6:59 AM in response to: mariusak
Click to view RDPetruska's profile Guru 15,875 posts since
Jan 11, 2005
Where on earth can I downloade this file?
VmwareTools-1.0.0-24927.tar.gz
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

Re: Stupid Question

18. Jul 17, 2006 1:48 PM in response to: RDPetruska
Click to view mariusak's profile Lurker 5 posts since
Jul 16, 2006
Thanks.. now i got it..

Re: How to install Vmware Tools on Ubuntu 6.0.6

19. Aug 15, 2006 4:54 AM in response to: jameslin
Click to view wrightdk's profile Lurker 4 posts since
Oct 29, 2004
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?

Re: How to install Vmware Tools on Ubuntu 6.0.6

20. Aug 15, 2006 5:18 AM in response to: wrightdk
Click to view RDPetruska's profile Guru 15,875 posts since
Jan 11, 2005
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.

Re: How to install Vmware Tools on Ubuntu 6.0.6

21. Aug 15, 2006 6:12 PM in response to: RDPetruska
Click to view wrightdk's profile Lurker 4 posts since
Oct 29, 2004
/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

Re: How to install Vmware Tools on Ubuntu 6.0.6

22. Aug 23, 2006 12:29 PM in response to: pmilligan
Click to view ahmahmahm's profile Novice 9 posts since
Aug 23, 2006
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

Re: How to install Vmware Tools on Ubuntu 6.0.6

23. Aug 25, 2006 12:50 PM in response to: wrightdk
Click to view doghausdev's profile Lurker 5 posts since
Jun 2, 2006
/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?

Re: How to install Vmware Tools on Ubuntu 6.0.6

24. Sep 11, 2006 10:09 PM in response to: doghausdev
Click to view crenner's profile Lurker 1 posts since
Sep 11, 2006
/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.

Re: How to install Vmware Tools on Ubuntu 6.0.6

25. Oct 11, 2006 11:11 AM in response to: RDPetruska
Click to view acmans's profile Lurker 1 posts since
Oct 11, 2006
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?

Re: How to install Vmware Tools on Ubuntu 6.0.6

26. Nov 2, 2006 9:53 AM in response to: acmans
Click to view nichmj's profile Lurker 1 posts since
Nov 2, 2006
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.

Re: How to install Vmware Tools on Ubuntu 6.0.6

27. Mar 21, 2007 9:50 AM in response to: jameslin
Click to view dave-gallagher's profile Lurker 1 posts since
Nov 18, 2006
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 post, you should run these commands instead:

# Install gcc-4.1, make, and appropriate Linux kernel headers
$ sudo apt-get install gcc-4.1 make linux-headers-$(uname -r)

# Create a symlink for gcc -> gcc-4.1
$ sudo ln -s /usr/bin/gcc-4.1 /usr/bin/gcc

If you already accidentally ran jameslin's 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:
$ 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:
$ 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.

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
8) 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

Re: How to install Vmware Tools on Ubuntu 6.0.6

28. Jul 9, 2007 6:46 AM in response to: dhs13
Click to view ppetir's profile Lurker 1 posts since
Jul 9, 2007
Hi, dhs13

So, what exactly is the right folder?

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities