VMware

Turn Off Logging
In the file /etc/vmware/config, add the following line:-

logging = "FALSE"

kb.vmware.com/kb/1232

VMware Server 1.0.x - Turning Off CDROM Drive Temporarily Via Command Line
If you are seeing lots of these error messages in your log file:-

Jul 04 10:56:09: vmx| CDROM_SG: AIOCallbackSGIO: Unexpected errno: Unknown error 4294967295 (-1)

To fix it, power off the VM, then edit the configuration file:-

e.g. /home/vmware/Virtual Machines/SBS2003/SBS2003.vmx

Change

ide1:0.startConnected = "TRUE"

To

ide1:0.startConnected = "FALSE"

Thanks to this page - http://sanbarrow.com/vmx/vmx-cd-settings.html

VMware Server 1.0.x - VMX Configuration File - Full Example
config.version = "8" virtualHW.version = "4" numvcpus = "2" scsi0.present = "TRUE" scsi0.virtualDev = "lsilogic" memsize = "3600" scsi0:0.present = "TRUE" scsi0:0.fileName = "SBS2003.vmdk" scsi0:0.writeThrough = "TRUE" ide1:0.present = "TRUE" ide1:0.fileName = "/dev/scd0" ide1:0.deviceType = "cdrom-raw" ide1:0.startConnected = "FALSE" floppy0.present = "FALSE" floppy0.fileName = "/dev/fd0" floppy0.startConnected = "FALSE" Ethernet0.present = "TRUE" displayName = "SBS2003" guestOS = "winnetbusiness" priority.grabbed = "normal" priority.ungrabbed = "normal" powerType.powerOff = "hard" powerType.powerOn = "hard" powerType.suspend = "hard" powerType.reset = "hard" scsi0:0.redo = "" ethernet0.addressType = "generated" uuid.location = "56 4d a7 c3 6b 0d 99 8f-03 80 c8 f5 d2 c6 a2 7a" uuid.bios = "56 4d a7 c3 6b 0d 99 8f-03 80 c8 f5 d2 c6 a2 7a" ethernet0.generatedAddress = "00:0c:29:c6:a2:7a" ethernet0.generatedAddressOffset = "0" tools.syncTime = "FALSE"
 * 1) !/opt/vmware/server/bin/vmware

VMware Server 1.0.x - Starting Or Stopping A Virtual Machine Via Command Line
Checking

vmware-cmd /home/vmware/Virtual\ Machines/SBS2003/SBS2003.vmx getstate getstate = off

Starting

vmware-cmd /home/vmware/Virtual\ Machines/SBS2003/SBS2003.vmx start start = 1

Stopping

vmware-cmd /home/vmware/Virtual\ Machines/SBS2003/SBS2003.vmx stop stop = 1

If the above does not stop the virtual machine, that is if you get an error message similar to:

VMControl error -8: Invalid operation for virtual machine's current state: Make sure the VMware Server Tools are running

Try using the following:

/etc/init.d/vmware stop

Installation Of VMware Server 2.0.x In Ubuntu Linux
https://help.ubuntu.com/community/VMware/Server

How To Fix Authorisation Problems
Open Applications > Accessories > Terminal

Switch to root user

su -

Copy the good file over the bad file

cp -av authorization.xml /etc/vmware/hostd/

Logout of root user

Close Terminal

How To Fix Database Connection Problems
Stop vmware management sudo /etc/init.d/vmware-mgmt stop Edit vmware management sudo nano /etc/vmware/hostd/authorization.xml Edit the line that talks about 11 Incrament it past the current "root" or administrator account you have. So it now reads 12 or to be safe (for many users) 20 Delete 11 Start vmware management sudo /etc/init.d/vmware-mgmt start Re-login to VMware Infrastructure Web Access FROM: http://ubuntuforums.org/showthread.php?t=973729

How To Fix Keyboard Problems
If your ARROW, NUMLOCK, HOME or END keys do not work properly in the Windows Virtual Machine, close the Console then edit the file /etc/vmware/config (for VMware Server 2) or the file /etc/vmware-server-console/config (for VMware Server 1) and add the following line at the end...

xkeymap.nokeycodeMap = "TRUE"

...then restart the console and you should be OK now.

How To Fix Mouse Problems
If your mouse does not work properly in the VM, edit the following file...

/home/username/.mozilla/firefox/{profile}/extensions/VMwareVMRC@vmware.com/plugins/lib/wrapper-gtk24.sh

...and add the lines near the top...

VMWARE_USE_SHIPPED_GTK='force' export VMWARE_USE_SHIPPED_GTK="force"

...then restart firefox and your plugin.

How To Fix NFS / LDAP Password Problems
If you find that users on an LDAP database cannot log into the VMware Web Access pages, you will need to edit the file /etc/pam.d/vmware-authd...

auth      sufficient  pam_ldap.so auth       required    pam_unix.so shadow nullok account   sufficient  pam_ldap.so account    required    pam_unix.so
 * 1) %PAM-1.0

...and restart VMware Server.

How To Fix ERROR: vmware failed to start (not properly configured!)
*  VMware Server is installed, but it has not been (correctly) configured *  for the running kernel. *  Please ensure that the modules have been compiled for this kernel: *  emerge --oneshot vmware-modules *  Also ensure VMware Server has been configured: *  /opt/vmware/server/bin/vmware-config.pl * VMware is not properly configured! See above. * ERROR: vmware failed to start

Solution: delete a file...

rm /etc/vmware/not_configured

...and run the configure script again...

/opt/vmware/server/bin/vmware-config.pl

...OR, just run the service again...

/etc/init.d/vmware start

VMWare Remote Console and Firefox 3.6
Since I updated to Firefox 3.6 the VMWare plugin for web access to the remote console doesn't work anymore. I can view and restart my machines but but the console is failing with "Cannot access virtual machine console. The request timed out." So here is how to run the remote console by hand...

Find the VMWare plugin in your Firefox folder:

%USERPROFILE%\Anwendungsdaten\Mozilla\Firefox\Profiles\uiu7quov.default\extensions\VMwareVMRC@vmware.com\plugins

You need to change uiu7quov.default to your profile folder.

From here you can connect to your vmware with:

vmware-vmrc.exe -h serverIP:8333 -M machineID

You should know your serverIP but you can find it together with the machineID in the web interface. Just select your VM and click right below "Commands" on "Gerate Virtual Machine Shortcut". The link from the web shortcut contains what you need:

https://serverIP:8333/ui/?wsUrl=http://localhost:8222/sdk&mo=VirtualMachine|machineID&inventory=none&tabs=hide

Taken from - http://pinetik.blogspot.com/2010/04/vmware-remote-console-and-firefox-36.html