1 2 Previous Next 28 Replies Latest reply on Jul 9, 2007 6:46 AM by ppetir Go to original post
      • 15. Re: How to install Vmware Tools on Ubuntu 6.0.6
        pmilligan Novice

        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

        • 16. Stupid Question
          mariusak Lurker

          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

          • 17. Re: Stupid Question
            RDPetruska Guru
            User ModeratorsvExpert

            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

            • 18. Re: Stupid Question
              mariusak Lurker

              Thanks..  now i got it..

              • 19. Re: How to install Vmware Tools on Ubuntu 6.0.6
                wrightdk Lurker

                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?

                • 20. Re: How to install Vmware Tools on Ubuntu 6.0.6
                  RDPetruska Guru
                  User ModeratorsvExpert

                  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.

                  • 21. Re: How to install Vmware Tools on Ubuntu 6.0.6
                    wrightdk Lurker

                    /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

                    • 22. Re: How to install Vmware Tools on Ubuntu 6.0.6
                      ahmahmahm Novice

                      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

                      • 23. Re: How to install Vmware Tools on Ubuntu 6.0.6
                        doghausdev Novice

                        /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?

                        • 24. Re: How to install Vmware Tools on Ubuntu 6.0.6
                          crenner Lurker

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

                          • 25. Re: How to install Vmware Tools on Ubuntu 6.0.6
                            acmans Lurker

                            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?

                            • 26. Re: How to install Vmware Tools on Ubuntu 6.0.6
                              nichmj Lurker

                              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.

                              • 27. Re: How to install Vmware Tools on Ubuntu 6.0.6
                                dave-gallagher Lurker

                                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

                                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

                                • 28. Re: How to install Vmware Tools on Ubuntu 6.0.6
                                  ppetir Lurker

                                  Hi, dhs13

                                   

                                  So, what exactly is the right folder?

                                  1 2 Previous Next