A VMware Tools installálása az M&M (Guest) -re elsőre sikerült egyszerűen és problémáktól mentesen, ezért azt itt most nem is részletezem.
UHU-Linux (Guest) -re történő telepítéskor már voltak gondjaim, de ez inkább csak a figyelmetlenségemnek és annak köszönhető, hogy nem olvastam el alaposan a manualt.
A telepítést Host alatt a VMware Workstation VM / Install VMware Tools.. elindításával kezdjük.
Ekkor a Guest alatt egy virtuális CD meghajtó csatolódik fel (na, ez is újmagyarul volt, de írhatnám azt is, hogy megjelenik, csak az enm pontosan írja le a dolgot). Ebből kell a csomagolt fájlt kicsomagolni. Jelen esetben a /tmp/ mappába.
A továbbiakban a root terminálban (mert ugyebár csak root-ként lehet telepíteni) végrehajtott műveleteket és a telepítés során látható üzeneteket mutatom be (egy kis magyarázattal).
Ezután:
A Linux Guest terminálba
root:# cd /tmp/vmware-tools-distrib
Ezzel a megfelelő könyvtárba navigálunk.root:/tmp/vmware-tools-distrib# ./vmware-install.pl
Telepítés.A previous installation of VMware software has been detected.
Talált egy előző telepítést (persze, mert elrontottam).Failure
Execution aborted.
root:/tmp/vmware-tools-distrib# cd bin
Akkor előbb távolítsuk el, ami rossz > a kitömörített /bin könyvtárba megyünk, mert ott van az uninstall pl.root:/tmp/vmware-tools-distrib/bin# ./vmware-uninstall-tools.pl
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 5.5.3 build-34685 for Linux completed successfully.
Thank you for having tried this software.
Nekifutunk mégegyszer.root:/tmp/vmware-tools-distrib/bin# cd .
Hoppá, ezt elrontottam, na mégegyszer (megpróbáltam feljebb lépni a könyvtárakban, de ahhoz .. kell).root:/tmp/vmware-tools-distrib/bin# cd..
root:/tmp/vmware-tools-distrib# ./vmware-install.pl
Creating a new installer database using the tar3 format.
Installing the content of the package.
A továbbiakban minden kérdésre Enter-t kell ütni. Persze csak, ha igaz a felajánlott válasz.In which directory do you want to install the binary files?
[/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]
tt volt egy kis gond, mert ezek a könyvtárak nem léteztek és nem is hozta létre őket automatikusan > megoldás: kézzel kellett a mappákat létrehoznom.What is the directory that contains the init scripts?
[/etc/init.d]
In which directory do you want to install the daemon files?
[/usr/sbin]
In which directory do you want to install the library files?
[/usr/lib/vmware-tools]
The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes
In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]
The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes
The installation of VMware Tools 5.5.3 build-34685 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]
Most pedig konfiguráljunk.
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmhgfs module for your running kernel.
None of the pre-built vmhgfs modules for VMware Tools is suitable for your running kernel. Do you want this program to try to build the vmhgfs module for your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running kernel? [/lib/modules/2.6.17.6-10/build/include]
Extracting the sources of the vmhgfs module.
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.17.6-10/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.17.6-10'
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
CC [M] /tmp/vmware-config0/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-config0/vmhgfs-only/main.o
CC [M] /tmp/vmware-config0/vmhgfs-only/staticEscape.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmhgfs-only/vmhgfs.mod.o
LD [M] /tmp/vmware-config0/vmhgfs-only/vmhgfs.ko
make[1]: Leaving directory `/usr/src/linux-2.6.17.6-10'
cp -f vmhgfs.ko ./../vmhgfs.o
make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.
Can not find /etc/init.d/network and /etc/init.d/networking.
The fast network device driver (vmxnet module) is used only for our fast networking interface. The rest of the software provided by VMware Tools is designed to work independently of this feature.
If you wish to have the fast network driver enabled, 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.
[ Press Enter key to continue ]
Detected X.org version 7.1.
Please choose one of the following display sizes (1 - 13):
[1] "640x480"
[2]< "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[2] 3
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
DMA setup: done
Guest operating system daemon: done
The configuration of VMware Tools 5.5.3 build-34685 for Linux for this running kernel completed successfully.
You must restart your X session before any mouse or graphics changes take effect.
Ne felejtsük el az x-et újraindítani: startx.You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an XFree86 session.
Enjoy,
--the VMware team
Ezzel kész, a Toolbox települt.Jelenleg a VMware fórumon keresgélek azért, hogy a Toolbox Properties ablak ne legyen aktív (de még a panelon se legyen, hanem a háttérben fusson... esetleg ikon formájában megjelenve. Egy BSD-s kollégának (KDE) a címsorra jobb egér kattintással bejön egyolyan menü, ahol ki lehet választani az ikon módot, de nekem ez nem működik. Lehet, hogy a Gnome miatt.
Ja, hogy minden induláskor elinduljon automatikusan:
Beállítások / Gnome / Vezérlőpult / Munkamenetek / Automatikusan elinduló programok-hoz hozzáadtam ezt: /usr/bin/vmware-toolbox és így már indul. Ez kell az extra szolgáltatásokhoz, mint a kurzor ki a Guest ablakból, copy paste (ez nálam még nem működik( és egyebek.
2007.02.27. Kiegészítés!
Rátaláltam a megoldásra: a fent leírt mód jó, csak az Automatikusan elinduló programoknál beírtat ki kell egészíteni:
/usr/bin/vmware-toolbox --iconify
Ezzel induláskor rögtön a panelon helyezkedik el a Toolbox Properties.
Állítólag Linux alatt ez a maximum, ami elérhető.
Azért még nem vagyok boldog, mert a Shared Folders nem található a gép újraindítását követően (telepítést követően még működött), de erről majd később.
SP
Utolsó kommentek