Specifications

Table Of Contents
VMware, Inc. 61
Chapter 3 Using VMware Tools
To!open!the!VMware!Tools!control!panel,!at!a!command!prompt,!type:
vmware-toolbox &
You!can!run!VMware!Tools!as!root!or!as!a!normal!user.!To!shrink!virtual!disks,!you!
should!run!VMware!Tools!as!root!(su -).
NOTE Always!run!vmware-toolbox!in!the!guest!operating!system!to!ensure!you!have!
access!to!all!VMware!Tools!features,!such!as!copy!and!paste!and!mouse!
ungrab!for!operating!systems!for!which!X!display!driver!is!not!available.
Connecting Devices with VMware Tools
The!Devices!tab!allows!you!to!enable!or!disable!removable!devices.!Removable!devices!
include!the!floppy!and!CDROM!drives!and!the!virtual!network!adapter.
To!connect!a!device,!select!the!check!box!next!to!the!device.!To!disconnect!the!device,!
click!to!deselect!the!check!box!next!to!the!device.
NOTE You!can!also!set!these!options!from!the!VM!>!Removable!Devices!menu!in!the!
virtual!machine!window.
Choosing Scripts for VMware Tools to Run During Power State Changes
Through!VMware!Tools,!you!can!run!scripts!that!execute!when!you!power!on,!power!
off,!suspend,!or!resume!the!virtual!machine.!For!more!information,!see!“Executing!
Scripts!When!the!Virtual!Machine’s!Power!State!Changes”!on!page 55.
A!default!script!for!each!power!operation!is!included!in!VMware!Tools.!These!scripts!
are!
located!in!the!guest!operating!system!in!/etc/vmware-tools.
Table 3-2.
When You … This Default Script Runs
Suspend!the!guest!operating!
system
suspend-vm-default
Resume!the!guest!operating!
system
resume-vm-default
Power!off!the!guest!operating!
system
poweroff-vm-default
Power!on!the!guest!operating!
system
poweron-vm-default