To facilitate testing on both GNOME and KDE desktop concurrently, I decide to install Kubuntu on my VMware Server. Here is a guide on how I install Kubuntu on Ubuntu with VMware Server.
- Start up your VMware Server. Click the “Create a new virtual machine“
- On the popup window, click Next.
- Under the Virtual Machine Configuration, choose “typical setting”. Click Next.
- Under Guest operating system, click on Linux. Choose Ubuntu from the version dropdown box. Click Next.
- Input the name and location for the OS. Click Next.
- Under Network Connection, click on “Network Address Translation“
- Under “disk size”, select 6GB. Uncheck “allocate disk space now” and check “split disk into 2GB files“. Click Finish. This will bring you back to the VMware start screen. You can now see a Kubuntu tab on top of the screen. Click on that.
- Click on “Edit virtual machine setting”
- On the left of the popup window, click on the CD-ROM. On the right, click on “use ISO image“. Point to the location of the Kubuntu iso file you have downloaded. Click OK.
- Now click “power on the virtual machine“
- VMware will now load the ISO file. On the startup screen, select “start/install Kubuntu”
- Once the ISO finished booting, you can see the KDE desktop. Click on the “install” icon on the desktop to start the 6 steps installation. Follow the instruction.
- The installation takes about 30 – 40mins.
- After the installation, restart the virtual machine.
- You should now have a working Kubuntu on your VMware.
Installing VMware Tools on Kubuntu
After you have installed Kubuntu, it is required to install VMware Tools for added functionality, such as seamless mouse movement between host and vm, graphics acceleration, network acceleration, host/vm time synchronization etc.
To install VMware tool, first retrieve the necessary headers.
Open up a terminal window (found under system) and type:
sudo apt-get install build-essential linux-headers-`uname -r`
Next, on the VMware main menu, click on VM -> Install VMware tools
VMware will now mount a CD on the desktop. You should see the icon below
- Open the folder and copy the tar file to the desktop. (ignore the rpm file)
- Open the tar file and extract the content to your home folder
- Open up a terminal, type:
- This will install the vmware-tools. Choose the default answer for each questions (or just press Enter)
- Next, configure the vmware-toolbox to run everytime during startup.
- Restart the virtual machine
echo “/usr/bin/vmware-toolbox” > ~/.kde/Autostart/vmware-toolbox.sh
chmod +x ~/.kde/Autostart/vmware-toolbox.sh