How to Install VMware server 2.0 in Ubuntu Intrepid

In the past, whenever Ubuntu came out with a new release, the VMware installation will break. Surprisingly, when I installed VMware server 2.0 in Ubuntu Intrepid, it installed and run smoothly, without having to apply any patch. So if you are looking on installing VMware server 2.0 on your Ubuntu Intrepid, this is the way to do it:

1) Download VMware Server 2.0. You will have to register for a free account in order to download and get the license key. At the download page, select the tar image for Linux system. It is 539MB and will take about half an hour with a broadband connection

vmware-download

2) Using the Archive Manager, extract the tar file to your home folder. You should now see a vmware-server-distrib folder.

3) Before we start the installation, we need to install the necessary dependencies. In your terminal:

sudo apt-get install linux-headers-`uname -r` build-essential xinetd

Once that is done,

cd vmware-server-distrib
sudo ./vmware-install.pl

You will be prompted to answer some questions. Unless you know what you are doing, pressing ‘Enter’ to select the default answer is often the best bet.

During the installation, you will encounter this error message “Unable to make a vsock module that can be loaded in the running kernel…“.

vmware-vsock-error

There is some conflict with the new kernel and the vsock module which make it unable to compile. Luckily, this does not affect the operation of the VMware. You can safely ignore this and proceed with the installation. Just note that you won’t be able to access the Vsock module in the VMware server.

Next, it will arrive at this prompt:

The current administrative user for VMware Server is ”. Would you like to
specify a different administrator? [no]

If you select the default answer [no], you will have to log into your vmware console as root. That is not a big issue here, but if you want to log in as your own user ID (the ID you log into your Ubuntu machine), you have to type YES and press Enter. It will then ask you to type in your user ID.

Proceed on with the installation until the end.

4) Now, if you choose to log in as root, you need to set a password for root

sudo passwd root

Enter your password twice.

5) The keyboard configuration option for VMware is not turned on by default. Here is the trick to get it to configure your keyboard.

gedit ~/.vmware/config

Paste the following line to the text file.

xkeymap.nokeycodeMap = TRUE

Save and exit.

5) Open your Firefox browser (I have tried in Opera and it doesn’t work well), on the URL bar, type in http://localhost:8222

vmware-login

6) Log in with your username and password. If you have chosen the default option, the login name will be root and the password is the one that you have set previously.

vmware-admin-console

That’s it. You can now create your own virtual machine.