Getting Started with VMware Player VMware Player 5 This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
Getting Started with VMware Player You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com Copyright © 2012 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws.
Contents Getting Started with VMware Player 5 1 Introduction and System Requirements 7 Host System Requirements 7 Virtual Machine Features and Specifications 9 2 Installing and Using Player 11 Install Player on a Windows Host 11 Install Player on a Linux Host 12 Uninstall Player 13 Start Player 13 Use the Player Window 14 3 Creating Virtual Machines 15 Understanding Virtual Machines 15 Preparing to Create a Virtual Machine 15 Create a Virtual Machine 19 Use Easy Install to Install a Guest Operating S
Getting Started with VMware Player Moving Virtual Machines 68 Delete a Virtual Machine 71 View the Message Log for a Virtual Machine 72 Using the VIX API 72 6 Configuring and Managing Devices 73 Configuring DVD, CD-ROM, and Floppy Drives 73 Configuring a USB Controller 75 Configuring and Maintaining Virtual Hard Disks 77 Configuring Virtual Ports 82 Configuring Generic SCSI Devices 87 Configuring Eight-Way Virtual Symmetric Multiprocessing Configuring Keyboard Features 91 Modify Hardware Settings for a V
Getting Started with VMware Player ® Getting Started with VMware Player describes how to install and use VMware Player. Intended Audience This guide is intended for anyone who wants to install and use Player. Where to Find Additional Information For additional information about using Player, see the following documents. All of the documents are available from the VMware Web site. n Installing and Configuring VMware Tools contains complete information about using VMware Tools.
Getting Started with VMware Player 6 VMware, Inc.
Introduction and System Requirements 1 Player is a desktop application that lets you create, configure, and run virtual machines. You can also use Player to download and run virtual appliances. Host computers that run Player must meet specific hardware and software requirements. Virtual machines that run in Player support specific devices and provide certain features.
Getting Started with VMware Player If you have an Intel CPU that has VT-x support, you must verify that VT-x support is enabled in the host system BIOS. The BIOS settings that must be enabled for VT-x support vary depending on the system vendor. See the VMware knowledge base article at http://kb.vmware.com/kb/1003944 for information about how to determine if VT-x support is enabled. When you install a 64-bit operating system, Player performs checks to make sure the host system has a supported processor.
Chapter 1 Introduction and System Requirements Disk Drive Requirements for Host Systems Host systems must meet certain disk drive requirements. Guest operating systems can reside on physical disk partitions or in virtual disk files. Table 1-1. Disk Drive Requirements for Host Systems Drive Type Requirements Hard disk n n n Optical CD-ROM and DVD n n n Floppy IDE and SCSI hard drives are supported.
Getting Started with VMware Player Player is not listed, but the information for Workstation is applicable to Player. Operating systems that are not listed are not supported for use in a virtual machine. See the VMware Guest Operating System Installation Guide for information on installing the most common guest operating systems. Virtual Machine Processor Support Virtual machines support certain processor features. n The same as the processor on the host computer.
Installing and Using Player 2 You can install Player on a Linux or Windows host system. Installing Player typically involves running a standard GUI wizard.
Getting Started with VMware Player Install Player on a Linux Host You run the Linux bundle installer to install Player on a Linux host system. On most Linux distributions, the Linux bundle installer starts a GUI wizard. On some Linux distributions, including Red Hat Enterprise Linux 5.1, the bundle installer starts a command-line wizard instead of a GUI wizard. You can also run the installer with the --console option to install Player in a terminal window.
Chapter 2 Installing and Using Player Linux Command Line Installation Options You can use command line installation options to install Player on a Linux host system. To use the installation options, you must be logged in as root. Exit from the root account after the installation is finished. Table 2-1. Linux Command Line Installation Options Option Description --gtk Opens the GUI-based VMware installer, which is the default option. --console Enables you to use the terminal for installation.
Getting Started with VMware Player When you start Player, the Player window opens. Use the Player Window You interact with Player and virtual machines through the Player window. The best way to learn how to use Player is to use it. The Player window is designed to be intuitive and easy to use. Procedure n Use the icons on the Home tab to create a new virtual machine, open an existing virtual machine, download a virtual appliance, or view the Player help system.
Creating Virtual Machines 3 You create a new virtual machine in Player by using the New Virtual Machine wizard and import third-party and Open Virtualization Format (OVF) virtual machines.
Getting Started with VMware Player Selecting a Guest Operating System The New Virtual Machine prompts you to select the source media for the operating system that will run inside the virtual machine. You can specify an installer disc inserted in a physical drive, an ISO image file, or you can instruct the New Virtual Machine wizard to create a virtual machine that has a blank hard disk.
Chapter 3 Creating Virtual Machines Table 3-1. Easy Install Information for Windows Guests (Continued) Easy Install Prompt Description Password (Optional) The password to use for an account with Administrator permissions on Windows operating systems other than Windows 2000. On Windows 2000, this is the password for the Administrator account. On Windows XP Home, an Administrator account without a password is created and you are automatically logged in to the guest operating system.
Getting Started with VMware Player Specifying Disk Capacity for a Virtual Machine If you instruct the New Virtual Machine wizard to create a new virtual disk during a custom configuration, the wizard prompts you to set the size of the virtual disk and specify whether to split the disk into multiple virtual disk (.vmdk) files. A virtual disk is made up of one or more virtual disk files. Virtual disk files store the contents of the virtual machine hard disk drive.
Chapter 3 Creating Virtual Machines Create a Virtual Machine You create a virtual machine in Player by running the New Virtual Machine wizard. Prerequisites n Verify that you have the information the New Virtual Machine wizard requires to create a virtual machine. See “Preparing to Create a Virtual Machine,” on page 15. n Verify that the guest operating system you plan to install is supported. See the online VMware Compatibility Guide, which is available on the VMware Web site.
Getting Started with VMware Player What to do next If you used Easy Install and the virtual machine did not power on when the installation finished, power on the virtual machine to start the guest operating system installation. See “Use Easy Install to Install a Guest Operating System,” on page 20. If you did not use Easy Install, install the guest operating system manually. See “Install a Guest Operating System Manually,” on page 20.
Chapter 3 Creating Virtual Machines Procedure 1 2 If you are installing the guest operating system from an installer disc, configure the virtual machine to use a physical CD-ROM or DVD drive and configure the drive to connect at power on. a Select the virtual machine and select Player > Manage > Virtual Machine Settings. b On the Hardware tab, select CD/DVD drive. c Select Connect at power on. d Select Use physical drive and select a the drive. e Click OK to save your changes.
Getting Started with VMware Player Importing Virtual Machines You can import Windows XP Mode, Open Virtualization Format (OVF), and Windows Virtual PC virtual machines in Player. Import a Windows XP Mode Virtual Machine You can import a Windows XP Mode virtual machine and run it in Player. When you import a Windows XP Mode virtual machine, Player creates a new virtual machine in VMware runtime (.vmx) format. You can power on only one Windows XP Mode virtual machine at a time in Player.
Chapter 3 Creating Virtual Machines 3 Type a name for the virtual machine, type or browse to the directory for the virtual machine files, and click Import. Player performs OVF specification conformance and virtual hardware compliance checks. A status bar indicates the progress of the import process. 4 If the import fails, click Retry to try again, or click Cancel to cancel the import.
Getting Started with VMware Player n Configure VMware Tools Updates for a Specific Virtual Machine on page 26 You can configure virtual machines that have Windows or Linux guest operating systems to update VMware Tools automatically. For other guest operating systems, you must manually update VMware Tools. n Manually Installing and Upgrading VMware Tools on page 26 You can manually install or upgrade VMware Tools on Windows, Linux, NetWare, Solaris, and FreeBSD virtual machines.
Chapter 3 Creating Virtual Machines For Windows and Linux guest operating systems, you can configure the virtual machine to automatically upgrade VMware Tools. Although the version check is performed when you power on the virtual machine, on Windows guest operating systems, the automatic upgrade occurs when you power off or restart the virtual machine. The status bar displays the message Installing VMware Tools ... when an upgrade is in progress.
Getting Started with VMware Player 4 Option Description System proxy settings (Linux hosts only) Player uses the host proxy settings to access the VMware Update Server. Manual proxy settings a Select HTTP or SOCKS, specify the proxy server address and designate a port number to access the VMware Update Sever. b Type a username and password to use for proxy authentication.
Chapter 3 Creating Virtual Machines n Manually Install or Upgrade VMware Tools in a Windows Virtual Machine on page 27 All supported Windows guest operating systems support VMware Tools. n Manually Install or Upgrade VMware Tools in a Linux Virtual Machine on page 28 For Linux virtual machines, you manually install or upgrade VMware Tools by using the command line.
Getting Started with VMware Player 4 Follow the on-screen instructions. 5 If the New Hardware wizard appears, go through the wizard and accept the defaults. 6 If you are installing a beta or RC version of VMware Tools and you see a warning that a package or driver is not signed, click Install Anyway to complete the installation. 7 When prompted, reboot the virtual machine. What to do next If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Chapter 3 Creating Virtual Machines 6 Delete any previous vmware-tools-distrib directory before you install VMware Tools. The location of this directory depends on where you placed it during the previous installation. Often this directory is placed in /tmp/vmware-tools-distrib. 7 List the contents of the mount point directory and note the filename of the VMware Tools tar installer. ls mount-point 8 Uncompress the installer. tar zxpf /mnt/cdrom/VMwareTools-x.x.x-yyyy.tar.gz The value x.x.
Getting Started with VMware Player 2 Load the CD-ROM driver so that the virtual CD-ROM device mounts the ISO image as a volume. Operating System Command NetWare 6.5 LOAD CDDVD NetWare 6.0 or NetWare 5.1 LOAD CD9660.NSS NetWare 4.2 (not available in vSphere) load cdrom When the installation finishes, the message VMware Tools for NetWare are now running appears in the Logger Screen for NetWare 6.5 and NetWare 6.0 guest operating systems and in the Console Screen for NetWare 4.2 and 5.
Chapter 3 Creating Virtual Machines 7 Respond to the prompts by pressing Enter to accept the default values, if appropriate for your configuration. 8 Follow the instructions at the end of the script. Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks.
Getting Started with VMware Player 9 Follow the instructions at the end of the script. Depending on the features you use, these instructions can include restarting the X session, restarting networking, logging in again, and starting the VMware User process. You can alternatively reboot the guest operating system to accomplish all these tasks. What to do next If a new virtual hardware version is available for the virtual machine, upgrade the virtual hardware.
Chapter 3 Creating Virtual Machines Operating System Action Linux On a Linux guest operating system that has VMware Tools installed by using an RPM installer, enter the following command in a terminal window: rpm -e VMwareTools Linux, Solaris, FreeBSD, NetWare Log in as root and enter the following command in a terminal window: vmware-uninstall-tools.pl Mac OS X Server Use the Uninstall VMware Tools application, found in /Library/Application Support/VMware Tools.
Getting Started with VMware Player Table 3-5. Virtual Machine Files (Continued) Extension File Name Description .vmem uuid.vmem The virtual machine paging file, which backs up the guest main memory on the host file system. This file exists only when the virtual machine is running or if the virtual machine fails. It is stored in the working directory. snapshot_name_number.vmem Each snapshot of a virtual machine that is powered on has an associated .
Using Virtual Machines 4 You can use Player to run new and existing virtual machines on the host system, including virtual machines and system images that were created by other VMware products and some non-VMware products. You can also stream virtual machines from a Web server. When you use virtual machines in Player, you can download virtual appliances, transfer files and text between virtual machines and the host system, print to host printers, connect removable devices, and change display settings.
Getting Started with VMware Player n Enable Autologon in a Windows Virtual Machine on page 37 With Autologon, you can save your login credentials and bypass the login dialog box when you power on a Windows virtual machine. The guest operating system securely stores the password. Start a Virtual Machine in Player You can start a virtual machine from the Player window. Prerequisites Verify that the virtual machine files are accessible to the host system.
Chapter 4 Using Virtual Machines Procedure 1 Run the vmplayer command and specify the URL of the virtual machine. Both HTTP and HTTPS are supported. 2 Option Description Windows host vmplayer.exe http://path_to_vm.vmx Linux host vmplayer http://path_to_vm.vmx Select the virtual machine and select Player > Power > Power On. Player fetches virtual disk data on demand so that you can begin using the virtual machine before it finishes downloading. The status bar indicates the progress of the download.
Getting Started with VMware Player Prerequisites n Verify that the guest operating system is Windows 2000 or later. n Verify that you have an existing user account to enable Autologon. The account must be a local machine account, not a domain account. n Verify that the latest version of VMware Tools is running in the guest operating system. n Power on the virtual machine. Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings.
Chapter 4 Using Virtual Machines n To power off a virtual machine without shutting down the guest operating system, select Player > Power > Power Off. If soft power operations are configured for the virtual machine in Workstation, Power Off Guest appears in the menu instead of Power Off. Use Ctrl+Alt+Delete to Shut Down a Guest You can use the Ctrl+Alt+Delete key sequence to shut down or log off of a guest operating system. Prerequisites Power on the virtual machine.
Getting Started with VMware Player Procedure u Select Player > Power > Reset. If soft power operations are configured for the virtual machine in Workstation, Reset Guest appears in the menu instead of Reset. Set Player Preferences for Virtual Machine Closing Behavior You can configure how virtual machines behave when you close them. Procedure 1 Select Player > File > Player Preferences. 2 Select how Player behaves when you close a virtual machine. You can select one, both, or neither option.
Chapter 4 Using Virtual Machines n Mapping a Virtual Disk to the Host System on page 47 Instead of using shared folders or copying data between a virtual machine and the host system, you can map a virtual disk to the host system. In this case, you map a virtual disk in the host file system as a separate mapped drive. Using a mapped drive lets you connect to the virtual disk without going into a virtual machine.
Getting Started with VMware Player Using the Copy and Paste Feature You can cut, copy, and paste text between virtual machines and between applications running in virtual machines. You can also cut, copy, and paste images, plain text, formatted text, and email attachments between applications running on the host system and applications running in virtual machines. Copying and pasting email attachments is especially useful in Unity mode. Use the normal hot keys or menu choices to cut or copy and paste.
Chapter 4 Using Virtual Machines n Mounting Shared Folders in a Linux Guest on page 45 After you have enabled a shared folder, you can mount one or more directories or subdirectories in the shared folder to any location in the file system in addition to the default location of /mnt/hgfs. n Change Shared Folder Properties on page 46 After you create a shared folder, you can change the folder name, the host path, and other attributes.
Getting Started with VMware Player 3 4 Select a folder sharing option. Option Description Always enabled Keep folder sharing enabled, even when the virtual machine is shut down, suspended, or powered off. Enabled until next power off or suspend Enable folder sharing temporarily, until you power off, suspend, or shut down the virtual machine. If you restart the virtual machine, shared folders remain enabled. This setting is available only when the virtual machine is powered on.
Chapter 4 Using Virtual Machines Procedure n Depending on the Windows operating system version, look for VMware Shared Folders in My Network Places, Network Neighborhood, or Network. n If you mapped the shared folder as a network drive, open My Computer and look for Shared Folders on 'vmware-host' under Network Drives. n To view a specific shared folder, go directly to the folder by using the UNC path \\vmwarehost\Shared Folders\shared_folder_name.
Getting Started with VMware Player n ro (read only) n rw (read-write) rw is the default. If you are using a virtual machine that was created with the Windows version of Player, or a previous release of the Linux version of Player, you can change the owner permissions only. Change Shared Folder Properties After you create a shared folder, you can change the folder name, the host path, and other attributes. Prerequisites Create a shared folder.
Chapter 4 Using Virtual Machines Disable Folder Sharing for a Virtual Machine You can disable folder sharing for a specific virtual machine. Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings. 2 On the Options tab, select Shared Folders. 3 Select Disabled to disable folder sharing. 4 Click OK to save your changes.
Getting Started with VMware Player 6 Select the volume to map or mount and select an unused drive letter on the host system. 7 (Optional) On a Windows host, if you do not want the drive to open in Windows Explorer after it is mapped, deselect the Open drive in Windows Explorer after mapping check box. 8 Click OK or Mount. The drive appears on the host system. You can read from or write to files on the mapped virtual disk on the host system.
Chapter 4 Using Virtual Machines n Use a Removable Device in a Virtual Machine on page 49 You can connect and disconnect removable devices in a virtual machine. You can also change the settings for a removable device by modifying virtual machine settings. n Connecting USB Devices to Virtual Machines on page 50 When a virtual machine is running, its window is the active window. If you plug a USB device into the host system, the device connects to the virtual machine instead of the host by default.
Getting Started with VMware Player Connecting USB Devices to Virtual Machines When a virtual machine is running, its window is the active window. If you plug a USB device into the host system, the device connects to the virtual machine instead of the host by default. If a USB device connected to the host system does not connect to a virtual machine at power on, you must manually connect the device to the virtual machine.
Chapter 4 Using Virtual Machines Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings. 2 On the Hardware tab, select USB Controller. 3 Deselect Automatically connect new USB devices to disable automatic connection of USB devices. 4 Click OK to save your changes. Mount the USB File System on a Linux Host On Linux hosts, Player uses the USB device file system to connect to USB devices.
Getting Started with VMware Player Install a PDA Driver and Synchronize With a Virtual Machine To install a PDA driver in a virtual machine, you must synchronize the PDA with the virtual machine. Procedure 1 Connect the PDA to the host system and synchronize it with the host system. The PDA driver should begin installing in the virtual machine. 2 Allow the virtual machine to install the PDA driver. 3 If connection warning messages appear, dismiss them.
Chapter 4 Using Virtual Machines Solution 1 If you have problems with autoconnection, perform these steps. a Select the virtual machine and select Player > Removable Devices to disconnect and reconnect the device. b If the problem persists, unplug the device and plug it in again. c If a warning message indicates that the device is in use, disable the device in the hotplug configuration files in the /etc/hotplug directory.
Getting Started with VMware Player You can use smart cards with Windows operating systems and most Linux distributions. VMware provides full smart card support for Windows virtual machines running on Linux hosts. Using smart cards in Linux typically requires third-party software to effectively authenticate to a domain or enable secure communications.
Chapter 4 Using Virtual Machines Procedure 1 2 Find the global configuration file on the host system. Operating System Location Most Windows hosts C:\Documents and Settings\All Users\Application Data\VMware\VMware Player\config.ini Windows Vista and Windows 7 hosts C:\ProgramData\VMware\VMware Player\config.
Getting Started with VMware Player 2 On the Hardware tab, select Memory, set the final memory size for the virtual machine, and click OK. Some applications use a product activation feature that creates a key based on the virtual hardware in the virtual machine where it is installed. Changes in the configuration of the virtual machine might require you to reactivate the software. Setting the memory size minimizes the number of significant changes.
Chapter 4 Using Virtual Machines Configure Display Settings for a Virtual Machine You can specify monitor resolution settings, configure multiple monitors, and select accelerated graphics capabilities for a virtual machine. You can use the multiple-monitor feature when the virtual machine is in full screen mode. To use DirectX 9 accelerated graphics, the guest operating system must be Windows XP, Windows Vista, or Windows 7. Only Player 3.
Getting Started with VMware Player n Verify that the guest operating system display mode is larger than the host system display mode. If the guest operating system display mode is smaller than the host system display mode, you might not be able to enter full screen mode. If you cannot enter full screen mode, add the line mks.maxRefreshRate=1000 to the virtual machine configuration (.vmx) file. n Verify that the latest version of VMware Tools is installed in the guest operating system.
Chapter 4 Using Virtual Machines Unity mode is not available in full screen mode on Windows. Prerequisites n Verify that the virtual machine is a Player 3.x or later virtual machine. n Verify that the latest version of VMware Tools is installed in the guest operating system. n Verify that the guest operating system is Linux or Windows 2000 or later. n For Linux guests and hosts, verify that a modern version of Metacity or KDE is installed.
Getting Started with VMware Player 3 Select a Unity window decoration option. Option Description Show borders Set a window border that identifies the application as belonging to the virtual machine rather than to the host computer. Show badges Display a logo in the title bar. Use a custom color in window borders Use a custom color in window borders to help distinguish between the application windows that belong to various virtual machines.
Chapter 4 Using Virtual Machines Use Multiple Monitors for One Virtual Machine in Player If the host system has multiple monitors, you can configure a virtual machine to use multiple monitors. You can use the multiple-monitor feature when the virtual machine is in full screen mode. Prerequisites n Configure multiple monitors for one virtual machine. See “Configure Display Settings for a Virtual Machine,” on page 57. n Verify that the virtual machine is a Player 3.x or later virtual machine.
Getting Started with VMware Player Procedure u Select the virtual machine, right-click, and select Remove VM from the Library. The virtual machine is removed from the library without any confirmation. 62 VMware, Inc.
Configuring and Managing Virtual Machines 5 You can change virtual machine options, configure video and sound card settings, and move virtual machines to another host system or to a different location on the same host system.
Getting Started with VMware Player Change the Guest Operating System for a Virtual Machine If you upgrade the guest operating system that is installed in a virtual machine, or if you specify the wrong operating system version when you create the virtual machine, you must change the guest operating system type that is configured for the virtual machine. When you change the operating system type, the virtual machine configuration (.vmx) file changes. The guest operating system itself does not change.
Chapter 5 Configuring and Managing Virtual Machines 2 Select File > Open a Virtual Machine. 3 Browse to the new location of the .vmx file and click Open. Change the Memory Allocation for a Virtual Machine You can adjust the amount of memory that is allocated to a virtual machine. On 64-bit hosts, the maximum amount of memory for each virtual machine is 32GB. On 32-bit hosts, the maximum amount of memory for each virtual machine is 8GB.
Getting Started with VMware Player Setting Screen Color Depth The number of screen colors available in the guest operating system depends on the screen color setting of the host operating system. Virtual machines support the following screen colors.
Chapter 5 Configuring and Managing Virtual Machines 2 3 If you have a Windows host system, move the Hardware Acceleration slider to the Full position. Option Description Windows XP Right-click the desktop and select Properties > Settings > Advanced > Troubleshoot. Windows Vista Right-click the desktop and select Personalize > Display Settings > Advanced Settings > Troubleshoot > Change settings.
Getting Started with VMware Player Windows 2000, Windows XP, and most recent Linux distributions detect the sound device and install appropriate drivers for it. A sound driver is installed when you install VMware Tools in a 64-bit Windows Vista or Windows 7 guest operating system. For 32-bit Windows Vista, Windows 7, Windows 2003 Server, and Windows Server 2008 guests, you must use Windows Update to install a 32-bit driver.
Chapter 5 Configuring and Managing Virtual Machines n Configure a Virtual Machine for Compatibility on page 70 When you create a virtual machine that you intend to distribute to other users, you should configure the virtual machine for maximum compatibility with all expected host systems. Users might be limited in their ability to make changes in a virtual machine so that it is compatible with their host systems.
Getting Started with VMware Player Limitations of Moving a Virtual Machine to a Different Host You should be aware of certain limitations before you move a virtual machine to a different host system. n The guest operating system might not work correctly if you move a virtual machine to a host system that has significantly different hardware, for example, if you move a virtual machine from a 64-bit host to a 32-bit host or from a multiprocessor host to a uniprocessor host. n Player 3.
Chapter 5 Configuring and Managing Virtual Machines Using the Virtual Machine UUID Each virtual machine has a universal unique identifier (UUID). The UUID is generated when you initially power on the virtual machine. You can use the UUID of a virtual machine for system management in the same way that you use the UUID of a physical computer.
Getting Started with VMware Player View the Message Log for a Virtual Machine You can view the message log to review information about a particular virtual machine. Messages include warning information about the virtual machine. Procedure 1 Power on the virtual machine. 2 Select Player > Manage > Message Log. 3 Select a message in the message log to a see a detailed description of the message.
Configuring and Managing Devices 6 You can use Player to add devices to virtual machines, including DVD and CD-ROM drives, floppy drives, USB controllers, virtual and physical hard disks, parallel and serial ports, generic SCSI devices, and processors. You can also modify settings for existing devices.
Getting Started with VMware Player 2 On the Hardware tab, click Add. 3 In the Add Hardware wizard, select DVD/CD Drive. 4 Select a physical drive or ISO image file to connect to the drive. 5 Option Description Use physical drive The virtual machine uses a physical drive. Use ISO image The drive connects to an ISO image file. Configure the physical drive or ISO image file.
Chapter 6 Configuring and Managing Devices 8 Click Finish to add the drive to the virtual machine. 9 Click OK to save your changes. Configure Legacy Emulation Mode for a DVD or CD-ROM Drive Use legacy emulation mode to work around direct communication problems between a guest operating system and a DVD or CD-ROM drive. In legacy emulation mode, you can read only from data discs in the DVD or CD-ROM drive. Legacy emulation mode does not provide the other capabilities of normal mode.
Getting Started with VMware Player VMware has tested a variety of USB devices. If the guest operating system has the appropriate drivers, you can use many different USB devices, including PDAs, Smart phones, printers, storage devices, scanners, MP3 players, digital cameras, memory card readers, and isochronous transfer devices, such as webcams, speakers, and microphones.
Chapter 6 Configuring and Managing Devices Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings. 2 On the Hardware tab, select USB Controller. 3 From the USB Compatibility list, select USB 2.0 or USB 3.0. 4 Option Description USB 2.0 Available if the virtual machine hardware is compatible with Workstation 6 and later virtual machines. USB 3.0 Available for Linux guests running kernel version 2.6.35 or later and for Windows 8 guests.
Getting Started with VMware Player Configuring a Virtual Hard Disk You can configure virtual hard disks as IDE disks for any guest operating system. You can also set up a virtual hard disk as a SCSI disk for any guest operating system that has a driver for the LSI Logic or BusLogic SCSI adapter. You determine which SCSI adapter to use when you create a virtual machine. The files that make up an IDE or SCSI virtual hard disk can be stored on an IDE hard disk or on a SCSI hard disk.
Chapter 6 Configuring and Managing Devices 5 6 7 Select the disk type. Option Description IDE Create an IDE device. You can add up to four IDE devices to a virtual machine. SCSI Create a SCSI device. You can add up to 60 SCSI devices to a virtual machine. (Optional) To exclude the disk from snapshots, select Independent for the mode and select a persistence option. Option Description Persistent Disks in persistent mode behave like conventional disks on a physical computer.
Getting Started with VMware Player 3 In the Add Hardware wizard, select Hard Disk. 4 Select Use an existing virtual disk. 5 Specify the path name and filename for the existing disk file. 6 Click Finish to add the existing virtual hard disk. 7 Click OK to save your changes. Compact a Virtual Hard Disk Compacting a virtual hard disk reclaims unused space in the virtual disk. If a disk has empty space, this process reduces the amount of space the virtual disk occupies on the host drive.
Chapter 6 Configuring and Managing Devices Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings. 2 On the Hardware tab, select the virtual hard disk to expand. 3 Select Utilities > Expand. 4 Set the new maximum size for the virtual disk. 5 Select Expand. 6 Click OK after the disk expansion process is complete. What to do next Use a disk management tool to increase the disk partition size to match the expanded virtual disk size.
Getting Started with VMware Player 2 On the Hardware tab, select the virtual hard disk and click Remove. 3 Click OK to save your changes. Using Lock Files to Prevent Consistency Problems on Virtual Hard Disks A running virtual machine creates lock files to prevent consistency problems on virtual hard disks. Without locks, multiple virtual machines might read and write to the disk, causing data corruption. Lock files have a .
Chapter 6 Configuring and Managing Devices n Troubleshoot ECR Errors for Parallel Ports on page 85 A parallel port on the host system does not have an Extended Control Register (ECR). n Add a Virtual Serial Port to a Virtual Machine on page 85 You can add up to four serial (COM) ports to a virtual machine. Virtual serial ports can output to physical serial ports, files, or named pipes.
Getting Started with VMware Player What to do next If the guest operating system is Windows 95 or Windows 98, run the Add New Hardware wizard to detect and add the parallel port. Configure a Virtual Parallel Port on a Linux 2.6.x Kernel Host Linux 2.6.x kernels that support parallel ports use the modprobe modulename and modprobe parport_pc modules. Player requires that the parallel port PC-style hardware option (CONFIG_PARPORT_PC) is built and loaded as a kernel module. Linux kernels in the 2.6.
Chapter 6 Configuring and Managing Devices 3 On the line that defines the lp group, add the Player username. For example: lp::7:daemon,lp,player_username The changes take effect the next time the user logs in to the host system. Troubleshoot ECR Errors for Parallel Ports A parallel port on the host system does not have an Extended Control Register (ECR).
Getting Started with VMware Player 5 If you selected Output to named pipe, configure the named pipe. a (Windows host) Use the default pipe name, or type another pipe name. The pipe name must begin with \\.\pipe\ and must be the same on both the server and the client. For example: \\.\pipe\namedpipe b (Linux host) Type /tmp/socket or another UNIX socket name in the first text box. The pipe name must be the same on both the server and the client.
Chapter 6 Configuring and Managing Devices 2 Assuming that the serial port speed is set appropriately in the guest operating system, experiment with this setting by starting with a value of 100 and gradually decreasing it until you find the highest speed at which the connection works reliably.
Getting Started with VMware Player n On a 32-bit Windows XP virtual machine, install the special SCSI driver that VMware provides. You can download the driver from the VMware Web site. n On a Windows NT 4.0 virtual machine, install the BusLogic MultiMaster PCI SCSI Host Adapters driver. See “Install the BusLogic Driver in a Windows NT 4.0 Guest,” on page 88. Procedure 1 Select the virtual machine and select Player > Manage > Virtual Machine Settings. 2 On the Hardware tab, click Add.
Chapter 6 Configuring and Managing Devices To avoid concurrent access problems, do not specify /dev/st0 or /dev/sr0 when you specify which SCSI device to use in a virtual machine. IMPORTANT Do not attempt to use the same generic SCSI device in both the host system and guest operating system. Unexpected behavior and data loss or corruption might occur.
Getting Started with VMware Player 8 If the virtual machine does not contain any SCSI devices, or to add a generic SCSI device to a new virtual SCSI adapter, add the following lines to the virtual machine configuration (.vmx) file. scsiZ:Y.present = "true" scsiZ.
Chapter 6 Configuring and Managing Devices 4 Click OK to save your changes. Configuring Keyboard Features You can change key combinations for hot-key sequences in Player and the language for the keyboard that VNC clients use. You can also configure platform-specific keyboard features for Windows and Linux host systems.
Getting Started with VMware Player 3 4 Select an option from the Enhanced virtual keyboard drop-down menu. Option Description Off The virtual machine does not use the enhanced virtual keyboard feature. This is the default value. Use if available (recommended) The virtual machine uses the enhanced virtual keyboard feature, but only if the enhanced virtual keyboard driver is installed on the host system. Required The virtual machine must use the enhanced the virtual keyboard feature.
Chapter 6 Configuring and Managing Devices n If Player does not recognize the remote server as an XFree86 server, add the xkeymap.usekeycodeMapIfXFree86 property and set it to TRUE. This property tells Player to use key code mapping if you are using an XFree86 server, even if it is remote. For example: usekeycodeMapIfXFree86 = "TRUE" Understanding X-Key Codes and Keysyms Pressing a key on a PC keyboard generates a PC scan code based roughly on the position of the key.
Getting Started with VMware Player 2 Add the xkeymap.keycode.code property and set it to the v-scan code. code must be a decimal number and the v-scan code must be a C-syntax hexadecimal number, such as 0x001. In this example, the properties swap left Ctrl and Caps Lock. xkeymap.keycode.64 = "0x01d # X Caps_Lock -> VM left ctrl" xkeymap.keycode.
Chapter 6 Configuring and Managing Devices n To use a different keysym mapping table that is not in the xkeymap directory, add the xkeymap.fileName property and set it to the path to the table. For example: xkeymap.fileName = "file_path" The table must list a keysym for each key by using the form sym="v-scan_code", where the sym value is an X keysym name and v-scan_code is a C-syntax hexadecimal number, for example, 0x001. Use a new line for each keysym.
Getting Started with VMware Player Table 6-1. V-Scan Codes for the 104-Key U.S. Keyboard (Continued) Symbol Shifted Symbol Location I 0x017 O 0x018 P 0x019 [ { 0x01a ] } 0x01b Enter 0x01c Ctrl left 0x01d A 0x01e S 0x01f D 0x020 F 0x021 G 0x022 H 0x023 J 0x024 K 0x025 L 0x026 ; 0x027 ' 0x028 ` 0x029 Shift \ 96 V-Scan Code left | 0x02a 0x02b Z 0x02c X 0x02d C 0x02e V 0x02f B 0x030 N 0x031 M 0x032 , < 0x033 .
Chapter 6 Configuring and Managing Devices Table 6-1. V-Scan Codes for the 104-Key U.S.
Getting Started with VMware Player Table 6-1. V-Scan Codes for the 104-Key U.S. Keyboard (Continued) Symbol Shifted Symbol Location V-Scan Code Delete function pad 0x153 Windows left 0x15b Windows right 0x15c Menu 0x15d The 84-key keyboard has a Sys Req key on the numeric pad. Its v-scan code is 0x054. Keyboards outside the U.S. usually have an extra key (often < > or < > |) next to the left Shift key. The v-scan code for this key is 0x056.
Configuring Network Connections 7 Player provides bridged networking, network address translation (NAT), and host-only networking to configure a virtual machine for virtual networking. The software that you need for all networking configurations is installed on the host system when you install Player.
Getting Started with VMware Player Virtual Network Adapters When you use the New Virtual Machine wizard to create a new virtual machine, the wizard creates a virtual network adapter for the virtual machine. The virtual network adapter appears in the guest operating system as an AMD PCNET PCI adapter or Intel Pro/1000 MT Server Adapter. In Windows Vista and Windows 7 guest operating systems, it is an Intel Pro/1000 MT Server Adapter. Player 3.
Chapter 7 Configuring Network Connections Configuring Bridged Networking When you install Player on a Windows or Linux host system, a bridged network (VMnet0) is set up for you. Bridged networking connects a virtual machine to a network by using the network adapter on the host system. If the host system is on a network, bridged networking is often the easiest way to give the virtual machine access to that network.
Getting Started with VMware Player 3 Select Bridged: Connected directly to the physical network. 4 If you use the virtual machine on a laptop or other mobile device, select Replicate physical network connection state. This setting causes the IP address to be renewed when you move from one wired or wireless network to another. 5 Click OK to save your changes. Configuring Network Address Translation When you install Player on a Windows or Linux host system, a NAT network (VMnet8) is set up for you.
Chapter 7 Configuring Network Connections Figure 7-3. Host-Only Networking Configuration virtual network adapter virtual machine virtual network switch (VMnet1) host network adapter DHCP server In the default configuration, a virtual machine in a host-only network cannot connect to the Internet.
Getting Started with VMware Player What to do next Assign IP addresses to the virtual network adapters. To see the IP address that a host-only network is using, use the ipconfig /all command on a Windows host or the ipconfig command on a Linux host. Changing a Networking Configuration You can determine the type of network that a virtual machine is using, add virtual network adapters to a virtual machine, and change the configuration of existing virtual network adapters.
Chapter 7 Configuring Network Connections 7 Verify that the guest operating system is configured to use an appropriate IP address on the new network. a If the virtual machine is using DHCP, release and renew the lease. b If the IP address is set statically, verify that the guest operating system has an address on the correct virtual network.
Getting Started with VMware Player 106 VMware, Inc.
Index A accelerated 3D graphics preparing a virtual machine 67 preparing the host system 66 using 66 acceleration, disabling 56 additional information 5 application shortcuts, creating in Unity mode 60 Autologon, configuring 37 B battery information 58 bridged networking assigning IP addresses 101 configuring 101 BusLogic driver, installing 88 C CD-ROM drives adding 73 configuring 73 configuring legacy emulation mode 75 close behavior, configuring 40 command line options, installing Workstation on Linux
Getting Started with VMware Player installing Player Linux host 12 Windows host 11 installing VMware Tools FreeBSD (tar installer) 31 Linux (tar installer) 28 Microsoft Windows 27 NetWare (tar installer) 29 process overview 24 Solaris (tar installer) 30 intended audience 5 K key code mappings, configuring 94 key mappings, changing 93 keyboard features, configuring 91 keysyms defined 93 mapping 94 L Linux guest, VMware Tools installation or upgrade (tar installer) 28 local area networking, host requiremen
Index T tar installer 28 transferring files and text 40 U uninstalling, Windows host 13 uninstalling VMware Tools 32 Unity mode, setting preferences 59 Unity mode features 58 upgrading VMware Tools FreeBSD (tar installer) 31 Linux (tar installer) 28 Microsoft Windows 27 NetWare (tar installer) 29 process overview 24 Solaris (tar installer) 30 USB controller adding 76 configuring 75 USB devices connecting 50 disabling autoconnect 50 enabling high-speed support for USB 2.0 or 3.
Getting Started with VMware Player 110 VMware, Inc.