Installing (K)Ubuntu In Ubuntu With VMware Server

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.

First of all, download and install VMware. (the instruction here).
Next, download Kubuntu iso file from http://www.kubuntu.org/download.php

  1. Start up your VMware Server. Click the “Create a new virtual machine
  2. On the popup window, click Next.
  3. Under the Virtual Machine Configuration, choose “typical setting”. Click Next.
  4. kubuntu vmware 1

  5. Under Guest operating system, click on Linux. Choose Ubuntu from the version dropdown box. Click Next.
  6. kubuntu vmware 2

  7. Input the name and location for the OS. Click Next.
  8. kubuntu vmware 3

  9. Under Network Connection, click on “Network Address Translation
  10. kubuntu vmware 4

  11. 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.
  12. kubuntu vmware 5

  13. Click on “Edit virtual machine setting”
  14. 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.
  15. kubuntu vmware 6

  16. Now click “power on the virtual machine
  17. VMware will now load the ISO file. On the startup screen, select “start/install Kubuntu”
  18. kubuntu vmware 7

  19. 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.
  20. The installation takes about 30 – 40mins.
  21. After the installation, restart the virtual machine.
  22. 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
kubuntu vmware 8

  1. Open the folder and copy the tar file to the desktop. (ignore the rpm file)
  2. Open the tar file and extract the content to your home folder
  3. Open up a terminal, type:
  4. cd vmware-tools-distrib

    sudo ./vmware-install.pl

  5. This will install the vmware-tools. Choose the default answer for each questions (or just press Enter)
  6. Next, configure the vmware-toolbox to run everytime during startup.
  7. echo “/usr/bin/vmware-toolbox” > ~/.kde/Autostart/vmware-toolbox.sh

    chmod +x ~/.kde/Autostart/vmware-toolbox.sh

  8. Restart the virtual machine

Done.

Do you like what you read here?

Receive the latest update in your inbox.

Or connect with us: