Table of Contents

VMware_Server_on_Ubuntu

Installation

apt-get install xinetd perl :xinetd is required because VMware uses (x)inetd to listen on port 902 for VMware Server Console connections. inetd used to be supplied with Ubuntu, but even though it's been removed, its configuration file (/etc/inetd.conf) still exists. VMware's installer sees this file and assumes that inetd is installed, so places its “I want to listen on 902” command in that file, but since inetd isn't installed it never actually listens on that port. By installing xinetd instead, it sees xinetd and uses xinetd's configuration to listen on 902 instead.

tar -xzf VMware-server-1.0.4-56528.tar.gz tar -xzf vmware-any-any-update115a.tgz

cd vmware-server-distrib

./vmware-install.pl

cd ../vmware-any-any-update115a

./runme.pl

vmware-config.pl

Fixing Time on Hosts with Variable Speed CPUs (e.g. SpeedStep)

Hosts with variable speed CPUs (e.g. Intel's SpeedStep) can cause the time on guest OSes to go out of sync - either gaining time or losing time. In my experience this made an Ubuntu guest gain time at a rate of about 40%. The exact cause of this is because of the way in which operating systems keep time (by counting CPU interrupts), and that changing the CPU frequency without the guest OS being made aware of it causes problems. This is technically a bug in VMware, but given the above section we all know how they feel about actually fixing bugs…

Anyway, fixing the problem is easy (run all of these commands on the host system):

cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq

host.cpukHz = 2394000 host.noTSC = TRUE ptsc.noTSC = TRUE

sudo reboot

References