VMware Tools - BackTrack Linux
VMware Tools - BackTrack Linux
VMware Tools
From BackTrack Linux
Contents
1 Installing VMware Tools in BackTrack 1.1 Backtrack 5 R2 & R3 1.2 Backtrack 5 R1 1.3 Backtrack 5
Backtrack 5 R2 & R3
NOTE: KDE Users, please run the following command before installing VMWare tools on BackTrack 5 R2:
r o o t @ b t : ~ #m k d i r/ e t c / c u p s / p p d
For google's sake, here's the error you get if you do not create that directory, on a BT5 R2 / R3 KDE install:
U n a b l et oc r e a t es y m l i n k" / e t c / c u p s / p p d / V M w a r e _ V i r t u a l _ P r i n t e r . p p d "p o i n t i n gt of i l e" / u s r / l i b / v m w a r e t o o l s / c o n f i g u r a t o r / t h i n p r i n t . p p d " .
r o o t @ b t : ~ #p r e p a r e k e r n e l s o u r c e s
Next on the VMware Player, we click Virtual Machine -> Install VMware Tools. Now let's quickly setup the VMware Tools by issuing the following commands:
NOTE: After this a series of questions will come, if you are unsure about them just leave them default. At the time of the VMWare tools do not compile cleanly with kernel 3.2.6. In particular, the vmxnet driver fails to compile. However BackTrack 3.2.6 kernel already has a native vmxnet driver, so there should be no overall loss of performance.
www.backtrack-linux.org/wiki/index.php/VMware_Tools 1/3
03/07/2013
Backtrack 5 R1
In case you need to manually install the VMware Tools you first have to prepare your kernel source by issuing the commands:
r o o t @ b t : ~ #l ns/ u s r / s r c / l i n u x/ l i b / m o d u l e s / 2 . 6 . 3 9 . 4 / b u i l d
Next on the VMware Player, we click Virtual Machine -> Install VMware Tools. Now let's quickly setup the VMware Tools by issuing the following commands:
NOTE: After this a series of questions will come, if you are unsure about them just leave them default. WHEN ASKED IF YOU WANT THE SCRIPT TO RUN VMWARE-CONFIG-TOOLS.PL FOR YOU, SAY NO! We now need to apply some patches to the VMWare kernel module sources before they are built. So:
B e f o r er u n n i n gV M w a r eT o o l sf o rt h ef i r s tt i m e ,y o un e e dt oc o n f i g u r ei tb y i n v o k i n gt h ef o l l o w i n gc o m m a n d :" / u s r / b i n / v m w a r e c o n f i g t o o l s . p l " .D oy o uw a n t t h i sp r o g r a mt oi n v o k et h ec o m m a n df o ry o un o w ?[ y e s ]n o
If running in Mac Fusion, the patch won't apply cleanly. Accept the defaults and continue. Continue with the installation to the end, and hopefully all the VMWare modules should compile! bring back your pretty console and reboot:
r o o t @ b t : ~ #f i x s p l a s h r o o t @ b t : ~ #s h u t d o w nr0
Backtrack 5
In case you need to manually install the VMware Tools you first have to prepare your kernel source by issuing the commands:
r o o t @ b t : ~ #p r e p a r e k e r n e l s o u r c e s
www.backtrack-linux.org/wiki/index.php/VMware_Tools
2/3
03/07/2013
r o o t @ b t : ~ #c d/ u s r / s r c / l i n u x r o o t @ b t : ~ #c pr fi n c l u d e / g e n e r a t e d / *i n c l u d e / l i n u x /
Next on the VMware Player, we click Virtual Machine -> Install VMware Tools, this will mount a CD containin Now let's quickly setup the VMware Tools by issuing the following commands:
r o o t @ b t : ~ #c pf/ m e d i a / V M w a r e \T o o l s / V M w a r e T o o l s 8 . 4 . 6 3 8 5 5 3 6 . t a r . g z/ r o o t / r o o t @ b t : ~ #t a rx v f zV M w a r e T o o l s 8 . 4 . 6 3 8 5 5 3 6 . t a r . g z r o o t @ b t : ~ #c dv m w a r e t o o l s d i s t r i b / r o o t @ b t : ~ / v m w a r e t o o l s d i s t r i b #. / v m w a r e i n s t a l l . p l
NOTE: After this a series of questions will come, if you are unsure about them just leave them default.
I nw h i c hd i r e c t o r yd oy o uw a n tt oi n s t a l lt h eb i n a r yf i l e s ? [ / u s r / b i n ][ R E T U R N ] . . . . . . . . . . . . . . . . . . . . . . . . T h ec o n f i g u r a t i o no fV M w a r eT o o l s8 . 4 . 6b u i l d 3 8 5 5 3 6f o rL i n u xf o rt h i sr u n n i n g k e r n e lc o m p l e t e ds u c c e s s f u l l y . Y o um u s tr e s t a r ty o u rXs e s s i o nb e f o r ea n ym o u s eo rg r a p h i c sc h a n g e st a k e e f f e c t . Y o uc a nn o wr u nV M w a r eT o o l sb yi n v o k i n g" / u s r / b i n / v m w a r e t o o l b o x c m d "f r o mt h e c o m m a n dl i n eo rb yi n v o k i n g" / u s r / b i n / v m w a r e t o o l b o x "f r o mt h ec o m m a n dl i n e d u r i n ga nXs e r v e rs e s s i o n . T oe n a b l ea d v a n c e dXf e a t u r e s( e . g . ,g u e s tr e s o l u t i o nf i t ,d r a ga n dd r o p ,a n d f i l ea n dt e x tc o p y / p a s t e ) ,y o uw i l ln e e dt od oo n e( o rm o r e )o ft h ef o l l o w i n g : 1 .M a n u a l l ys t a r t/ u s r / b i n / v m w a r e u s e r 2 .L o go u ta n dl o gb a c ki n t oy o u rd e s k t o ps e s s i o n ;a n d , 3 .R e s t a r ty o u rXs e s s i o n . T ou s et h ev m x n e td r i v e r ,r e s t a r tn e t w o r k i n gu s i n gt h ef o l l o w i n gc o m m a n d s : / e t c / i n i t . d / n e t w o r k i n gs t o p r m m o dp c n e t 3 2 r m m o dv m x n e t m o d p r o b ev m x n e t / e t c / i n i t . d / n e t w o r k i n gs t a r t E n j o y , t h eV M w a r et e a m F o u n dV M w a r eT o o l sC D R O Mm o u n t e da t/ m e d i a / V M w a r eT o o l s .E j e c t i n gd e v i c e / d e v / s r 0. . .
If you see the message above in the terminal that means that the installation was successful, now after a quick rebo VMware Tools should be working, also let's not forget to fix the Splash screen.
r o o t @ b t : ~ #f i x s p l a s h r o o t @ b t : ~ #s h u t d o w nr0
Retrieved from "http://www.backtrack-linux.org/wiki/index.php?title=VMware_Tools&oldid=1130" This page was last modified on 13 August 2012, at 07:38.
www.backtrack-linux.org/wiki/index.php/VMware_Tools
3/3