Since Hardy uses a 2.4.24 kernel, you can't compile the vmmon module which is needed to install VMWare Server 1.0.5.
Fortunately, the long-awaited vmware-any-any-update115 patch solves the issue.
(Found on the Ubuntu Forums)
First, untar vmware server and run the installation script:
When it asks you whether you want to run the configuration script, answer no, download, untar the patch and run it:
After that, again, do NOT run the configuration script. You still have to modify the sources of vmnet:
You can run the configuration script this time.
When you will try to run your newly installed vmware server, it will fail with the following error:
To overcome it, type:
To test it, type
Voila! Your server and client should be up and running at this point.