1. Install required packages
aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc
2. Mount VMware Tools
mount /dev/cdrom /tmp/vmtools
3. Unzip the tools
tar -C /tmp -vfx /tmp/vmtools/VMwareTools*.tar.gz
4. Run install script
Note: You can also use the “open-vm-tools” instead of installing the VMware Tools.
aptitude install open-vm-tools
You need to add “contrib” to your sources.list !
Command line utility that supports import and export of OVF packages.
Download VMWare Open Virtualization Format Tool here:
You can download this tool for Windows (64-Bit or 32-Bit), Linux (64-Bit or 32-Bit) and Mac OSX.
chmod +x VMware-ovftool-2.0.1-260188-lin.x86_64.sh
Convert OVF to VMX
/opt/vmware/ovftool/ovftool /path/to/vm.ovf /path/to/vm.vmx
Convert VMX to OVF
/opt/vmware/ovftool/ovftool /path/to/vm.vmx /path/to/vm.ovf
More inforamtions and examples
See more examples in the documentation:
OVF Tool Userguide
Edit the “.vmx” file of your virtual machine and add this lines:
RemoteDisplay.vnc.enabled = "TRUE"
RemoteDisplay.vnc.port = "5900"
RemoteDisplay.vnc.password = "YOUR_PASSWORD"
Note: Use a different port for each virtual machine.
Get this server in /var/log/vmware/hostd.log if you want to connect to your VMWare Server ?
Proxysvc SSL Handshake on client connection failed: SSL Exception
Open about:config in Firefox and change
security.enable.ssl2 from false into true
In some cases you have to kill the vmware-hostd process and restart the management deamon:
Just a quick Post, the solution for the “Unable to build the vsock module” error message if you install VMWare Server 2 on Debian or Ubuntu:
tar xvf /usr/lib/vmware/modules/source/vsock.tar
sed -i 's/^\#include
cp vsock.o /lib/modules/$(uname -r)/misc
ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko
invoke-rc.d vmware restart
The installer of VMWare Workstation (and Player) hangs on Ubuntu Karmic 9.10.
“Cause: the installer runs vmware-modconfig-console which produces enough output with some kernels that the python engine deadlocks is command piplining during the compile.”
You need 2 consoles.
In the first one type:
while true; do killall -9 vmware-modconfig-console; sleep 1; done
In the second one start the installer:
sudo ./VMware-Workstation-6.5.3-185404.x86_64.bundle --ignore-errors
Note: Replace the bundle file name with your product (32-bit version for example).
After the installation stop the command in console one with “strg+c” and type:
vmware-modconfig --console --install-all
Now the installation is finished and you can use the installed VMWare product.
I found this workaround in the VMWare community forum: http://communities.vmware.com/thread/228949
VMWare Downloads: http://www.vmware.com/products/
If you add a new User (New Permission) to the VMWare Server 2 via the VMware Infrastructure Web Access you may get the message “The server response included one or more errors” with the details “RuntimeFault: Database temporarily unavailable or has network problems”.
To fix this you first have to stop the VMWare management service:
Now open the file “/etc/vmware/hostd/authorization.xml” and change the value of ‘<NextAceId>’ to 50 for example.
After that change you can start the VMWare management service again:
Now you can relogin into the VMware Infrastructure Web Access and add the new user. (If you get the error again, change the value of <NextAceId> again to a higher value)
I had a lot of problems with the new webinterface of VMWare Server 2. The interface is very unstable and not very comfortable for the VMWare configuration. I need an alternative for the browser application.
The new VMWare Server 2 is very simular to the ESXi or ESX Server from VMWare so you can use the VMWare Infrastructure Client of this products to manage the VMWare Server 2.
But you can’t download VMWare Infrastructure Client from the VMWare page, you have to download the free ESXi Server together with the VMWare Infrastructure Client and download the Infrastructure Client from the machine where you installed the ESXi server. (If you know a better way to get the VMWare Infrastructure Client send me a message or post a comment below.)
Now you can connect to your VMWare Server 2 with the VMWare Infrastructure Client like connecting it to an ESXi or ESX. (Add the port 8333 to the servername like on the picture below.)
I’m sorry to say that VMWare Infrastructure Client don’t run on Ubuntu Linux. Here you find a small howto, but this will not work with an encrypted connection to the server. Without this encryption you can’t use it in an productive environment.
VMware relased a new version 4 of the ESXi. The VMWare infrastructure client is replaced by VMWare vSphere Client. You can download the new client direct from http://www.vmware.com/products/esxi. There a no significant changes in the new client, it works with the free VMWare server like the old client.
The VMWare server is not available over the paketmanager in Ubuntu 8.04. You have to do a manual installation. First you have to download the server from the VMWare website and the vmware-any-any-update116 (482.8 KB) (version 1.1.6) which you have to extract into the vmware-server-distrib folder (extracted VMWare server). Befor you can start the VMWare installer, you have to install some pakets:
sudo aptitude install linux-headers-`uname -r` build-essential xinetd gcc-3.4
Now you can start the VMWare installer.
You can confirm all settings with “Enter”, except the question if you want to run the VMWare configuration script (vmware-configure.pl), which you should answer with “No”.
Now start the vmware-any-any-update:
Here you can run the VMWare configuration script.
The last step is to copy some libraries into the VMWare folder, which are required by the console.
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1
Now you can start the VMWare console over the menue and you have successful installed the VMWare server.