Ubuntu 8.04 Hardy Heron was officially released on 24th Apr last week. I specially took the weekend to download the iso and upgrade my Gutsy. What I thought would be a smooth process turns out to be a rather messy affair, with Hardy breaks some of my favorite software. One of them is VMware server.
Luckily with some help from the community, I finally got it working.
If you are facing the same issue, then here is the full guide to install VMware Server (works for VMware Workstation 6.5 beta too) and get it working in Hardy Heron:
Download VMware Server 1.0.5 to your home folder
Download the patch file vmware-any-any-update-116.tgz to your home folder.
Extract the Vmware-server-1.0.5-80187.tar.gz to your home folder (either via Archive manager or type tar zxf Vmware-server-1.0.5-80187.tar.gz in the terminal)
Extract the vmware-any-any-update-116.tgz to your home folder (either via Archive Manager or type tar zxf vmware-any-any-update-116.tgz in the terminal)
Install the necessary dependencies
sudo apt-get install linux-headers-`uname -r` build-essential
sudo apt-get install xinetd gcc-3.4
If you are using 64 bits system, you have to install the additional files
sudo apt-get install ia32-libs
Run the VMware Server installer
cd vmware-server-distrib
sudo ./vmware-install.pl
You will be prompted to answer some questions. Press ‘Enter’ to select the default answer. When it reaches the point that requires you to run vmware-config.pl, type ‘No‘. The installer will exit.
Next, apply the patch
cd
cd vmware-any-any-update116
sudo ./runme.pl
This time, press ‘Enter’ for all the questions and enter ‘Yes‘ to run the vmware-comfig.pl.
Once it has finished compiling, you should now see the VMware console in your Applications->System Tools. If not, you can start VMware Server by typing vmware in the terminal.
When you launch the application, it might generate an error message saying that it can’t find the cairo version. No worry, just copy the files over and it will work.
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/
For 64 bit users
sudo ln -s /usr/lib32 /usr/l32
sudo sed -i -e ‘s/usr\/lib/usr\/l32/g’ /usr/lib32/gtk-2.0/2.10.0/loader-files.d/libgtk2.0-0.loaders
sudo sed -i -e ‘s/usr\/lib/usr\/l32/g’ /usr/lib32/libgdk_pixbuf-2.0.so.0.1200.9
That’s it. Your VMware Server should be working now.
[via Ubuntu Forum]
Many thanks, this worked a treat.
Excellent tutorial. Thanks
FINALLY!!! I had all but given up hope that I would ever get VMware Server working again under Hardy and had regretted upgrading. In an act of desperation I reinstalled, only then did I find your article. Oh well, live and learn. At least I had backed up my virtual machines.
I’m very surprised that a “long-term support” release would not have been more thoroughly tested to make sure that such a popular program would work before releasing to the public.
Thank you very much for posting this, you made my day.
Nice one!
PS. The links are not working in my Firefox. It links to http://http// instead of http://
thanks for the guide
p.s. the link to the patch is wrong ;)
@Paul, klaas: I have fixed the link.
The VMware issue always occurs whenever there is a new release of Ubuntu. When Gutsy first launched, the VMware server was also not working. Thanks to Vmware-any-any-update for coming out with the patch s o quickly. Kudos to the community.
Very nice man… It worked like a charm…. If you would people visit http://thestampdown.com and post your tutorial…
The stamp down is a community dedicated to stuff like this :)
Many thanks..
Zach
Excellent — got my VMware Server installation working again after upgrading to Ubuntu 8.04 LTS Hardy Heron. Thanks!
It worked, thanks a lot!
Thanks for the hand step by step…..
I upgraded from gutsy to hard and i was able to get everything back thanks to this post
many many thanks!!!!!!
thanks guys. worked a treat.
like many before me, i had upgraded from kubuntu feisty to hardy and off course vmware was not working.
thanks to you its working again!
Good job. Thanks!
Thanks, thanks a lot. I was crazy with this problem.
Thanks, I could get the last couple of sed lines to work on 64 bit platform. using any-any-177 was only difference, so instead I did:
cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/libgcc_s.so.1
which worked fine.
Thanks for the guide, works perfectly now!
I installed everything, but it asks for the VMWare server Serial, I typed in, but says that it doesnt match any licenses. I have tried with many serials….
what can I do?
“Mil gracias” from Argentina!
Thanks for the guide. I had a similar problem as Malcolm,- I did use the any-any-update-116 patch and even using Malcolm’s change had no luck.
For:
sudo sed -i -e ’s/usr/lib/usr/l32/g’ /usr/lib32/gtk-2./2.10.0/loader-files.d/libgtk2.0-0.loaders
I get:
sed: -e expression #1, char 1: unknown command: `
Any suggestions?
Can I suggest that a brief description of what is the purpose of each fix be documented a little more – will help us not-so-newbies understand what is intended and perhaps even find a fix if/when we have problems?
Another update – I used any-any-update-117a and everything worked. This is after i used 116 and configured VMWare with that- just ran the script, vmware config.pl started up again and I just accepted my previous settings (had to put the license key in again) and all is well.
Thanks for the great tip!
Here’s an excellent script that does just about everything for you:
http://ubuntuforums.org/showthread.php?t=788169
i had some compilation errors , but with patch vmware-any-any-update117a.tgz from the same site it worked just fine , groovy dude , muchas gracias from Canada
This saved my ass, thanks buddy!
Awesome – worked like a charm with the 116 patch
Received the following error:
Unable to get the access rights of source file “./vmware-vix/bin”.
Execution aborted.
Unable to locate this file after searching entire drive and partitions. This message appears immediately after forced creation of …/man directory. Pressed Enter, directory appeared to have been created, then this error pops up.
…/man = /home/man. I had to force this folder. Unable to accept default location due to ‘man’ folder not a “directory.”
Comments welcome.
I have had the same error as pplsicd and have tried a million different solutions. Anyone have any ideas?
Thanks a lot, i successfully install my vmware using the 116 patch, anybody know why using the 117 patch is always fail when building the vmmon on Hardy?
Thank you so much… The information from the VMware website was useless. Thank you
A heartfelt thanks from me too.
I’m getting this error, Cannot find a serial number to unlock this version of VMware Server. Anybody has serial number.