Posts Tagged ‘vmware’

VMware Player / Workstation Mouse Grab Input Focus Bug

Tuesday, September 22nd, 2009

To fix the recent bug with VMware Player 2.5.3 and Workstation 6.5.3 Build 185404 under Karmic Koala Ubuntu just paste this line in your console before launching vmplayer/vmware:

export VMWARE_USE_SHIPPED_GTK=yes

you may also modify the VMware starting script so you don’t have to export it every time.

VMware Player / Workstation Keyboard Mapping Problem

Monday, January 5th, 2009

After switching from Debian Unstable to Kubuntu 8.10 I reinstalled my VMware Player 2.5.1 and started my Windows XP virtual machine. Soon I found that most of the keys near the numeric pad (del, home, right enter, etc) are either not working at all or doing wrong things. The obvious reason was some wrong keyboard mappings.

Solution:

$ echo 'xkeymap.nokeycodeMap = true' > ~/.vmware/config

or if the config already exists

$ echo 'xkeymap.nokeycodeMap = true' >> ~/.vmware/config

More info here

How-to Install VMware Player / Workstation on 2.6.26 Kernel

Monday, August 11th, 2008

Following the series about VMware troublesome installation here is a short tip for having VMware Player or Workstation up and running on your linux box.

  1. Download latest patch from the Google VMKernelNewbies Group (currently 117d)
  2. Extract it to some tmp directory
  3. Execute runme.pl

It could not get any easier than this (well maybe VMware can update more often)

Howto Convert Vmware Windows XP IDE Disk to LSILogic SCSI

Sunday, April 13th, 2008

I quite often use my Windows XP VM running under Vmware Server 1.0.5 (Debian Unstable) and because I still don’t have RAID I am forced to try every possible performance optimizations.

Latest and greatest was when successfully converting my 10 GB preallocated IDE disk to LSILogic SCSI following procedure close to this one. (Try it on your risk !)

1.Create LSI Logic disk:

vmware-vdiskmanager -c -s 100mb -a lsilogic -t 0 tempDisk.vmdk

2. Add SCSI definitions in your VMX file:

scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
scsi0:0.present = "TRUE"
scsi0:0.fileName = "tempDisk.vmdk"

2. Boot the VM and install LSI Logic driver – use WHQL 1.20.18.00 (at least I could not install the latest version)

3. Make backup of the VM Disk !

4. Open the disk definition file (.vmdk). Get from there the disk size (sum of all extents)

# Extent description
RW 20971520 FLAT "WXP-flat.vmdk" 0

Then create another disk

vmware-vdiskmanager.exe -c -s 20971520 -a lsilogic -t 1 anotherTemp.vmdk

This one is only needed so you can get the new geometry and replace it in the original .vmdk

5. Replace old geometry with new from anotherTemp.vmdk. In my case I replaced this

ddb.adapterType = "ide"
ddb.geometry.sectors = "63"
ddb.geometry.heads = "16"
ddb.geometry.cylinders = "16383"

with this

ddb.geometry.cylinders = "1305"
ddb.geometry.heads = "255"
ddb.geometry.sectors = "63"
ddb.adapterType = "lsilogic"

6. Update you VMX file so scsi0:0 points to the main disk image.  Also you can remove the old IDE definitions.

7. Boot your VM and have fun.

Couple of other performance suggestions:

1. Always defrag your guest operating system disk.

2. Use MemTrimRate = "0"

3. Use scsi0:0.mode = "independent-persistent"

4. Keep your guest operating system as light as possible. Turn off themes, effects, unneeded services etc.

Resources used:

http://sanbarrow.com/ide2scsi.html

http://communities.vmware.com/thread/50084

How-to Install VMware Player / Workstation on 2.6.24 Kernel

Saturday, February 2nd, 2008

Update: If you are looking for patching VMware for Linux 2.6.25 Kernel – check here

Currently latest VMware Player and Workstation do not install under Linux 2.6.24 Kernel. This is a short how-to resolve the gcc/make errors that arise while configuring (vmware-configure.pl)

1. Download the latest vmware player (workstation) – currently VMware Player 2.0.2 Build 59824
url: http://www.vmware.com/download/player/ – Read the Eula before downloading

2. tar xzvf VMware-player-2.0.2-59824.i386.tar.gz

3. cd vmware-player-distrib/

4. ./vmware-install.pl – Proceed as usual when asked to run vmware-config.pl answer NO

5. Download the latest any-any patch – currently vmware-any-any-update-116
url: http://vm…s.googlegroups.com/web/vmware-any-any-update-116.tgz

6. tar xzvf vmware-any-any-update-116.tgz

7. cd vmware-any-any-update116

8. ./runme.pl and when asked to run vmware-config.pl answer YES

9. Configure as usual

10. Enjoy!

PS. Link is broken so I reuploaded on my hosting. Patch is presented as is and I don’t take any responsibility for it. All credits go to the author.

Anyway http://blog.creonfx.com/temp/vmware-any-any-update-116.tgz