Considering how regularly new versions of Firefox now come along, that's quite some bug fix list in version 10! http://t.co/K3I2vLpW 1 week ago

4th
Jan 09

Running Kubuntu under VirtualBox



I’ve written a number of times on this topic, but thought I’d bring it all up to date and draw all the various, disparate posts together.

I use Kubuntu, not as my main OS, but for web development testing, which means I need a broad cross-section of Linux browsers. Therefore I run Kubuntu for it’s KDE interface (and, hence, Konqueror). I do this under VirtualBox – the virtual machine that I’ve found to be the best.

So, here’s my def. guide to creating a web development build of Kubuntu (for the layman, but assuming you can find your way around an OS and VirtualBox a bit). Ok, here goes…

Installing Kubuntu

  1. Download the Kubuntu ISO (I’m using the 32-bit addition) and save on your computer.
  2. If you’ve not already creating a guest machine on VirtualBox, do so. I find an 8GB hard drive, 256MB base memory and 12MB graphics memory is sufficient. I also enable the 3D acceleration and VT-x/AMD-v options.
  3. Attach the previously saved ISO as a mounted CD and boot. This will run through the installation – install this onto the previous created virtual hard drive.
  4. Reboot after the install.

Ok, now you have Kubuntu. Start it up again and we’ll configure it.

Automatic Login

  1. Go into System Settings.
  2. Click on the Advanced Tab and select “Login Manager”
  3. Click on the Convenience tab.
  4. Click on Enable Auto-login and select the user from the drop-down list.
  5. Apply these changes

This has set Kubuntu to automatically log you in each time – a handy time-saver.

Switch off Screen Saver

  1. Go into System Settings
  2. Click on Desktop
  3. Click on the Screen Saver option
  4. Untick “Start automatically”
  5. Apply these changes

Update Build

The next thing I do is to go into the Adept Manager and install any pending updates. This ensures your build is as up-to-date as possible.

Now restart the system.

Installing Linux Additions

Linux Additions is software which improves the interactivity between your host machine and your guest machine – in my case, between Windows XP and Kubuntu.

  1. Start Kubuntu. At the top of the VirtualBox window, select Devices and then click on “Install Guest Additions”
  2. Open up Konsole and run the following…
    sudo aptitude install build-essential linux headers-`uname -r`
  3. Once complete, run the following commands…
    cd /media/cdrom
    sudo sh ./VBoxLinuxAdditions-x86.run
  4. Once complete you’ll be prompted to restart the system, which you should do.

Once the system has restarted you’ll notice that you’ll be able to cleanly interact with the Kubuntu system via your mouse, without having to click in the window and use a “hot key” to return back to Windows. It will also give you extra video facilities which leads onto…

Improving Screen Size

I don’t know if it’s the same with your build but up until the point I installed the Linux Additions, Kubuntu was displaying in a 800×600 pixel window. However, now it’s gone to 1152×864, which is a lot better. Personally, I’m going to change it, so here’s how to do it…

  1. Go into System Settings
  2. Click on Display
  3. By default the Size and Orientation option should be selected
  4. You should see an option to set the size – change this via the drop-down
  5. Apply these changes

The screen then proceeded to corrupt and I had to reboot the Kubuntu session to get it back – this worked however and my resolution is as I set it.

Installing Browsers

Kubuntu comes with Konqueror. The two further browsers I wish to install are Firefox and Opera.

First of all, Firefox…

  1. Go into Adept Installer
  2. Search for & install Firefox

A simple one that! Now for Opera…

  1. Browse to http://www.opera.com/download/ and download the latest version to your desktop (it should be a .deb file)
  2. Right click and select “Open With” followed by “GDebi Package Installer”

And that should be it. All done. However, each update to Kubuntu normally brings along changes to the above (e.g. with 8.10 I lost the ability to easily specify my monitor and video card hardware).

The plan now is to keep this post up-to-date (I’ll add appropriate comments to highlight where changes are made). In time I’m going to add a selection of FAQ pages to the site, and I’m sure this will become one of them.

Good luck and if you have any problems, please drop me a comment.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly



4th
Jan 09

Upgrading Kubuntu


So, I started up my copy of Kubuntu, running under VirtualBox. For ages it’s been saying that there are no updates available for it, which is odd, so I ran it manually. This time I found a version update available – updating to 8.10 (Intrepid Ibex). So I ran it.

Now, in the past when I’ve tried to do updates of the OS it’s failed. This time it worked. Until I rebooted. Then the GUI failed and everything was command line <sigh>

Rather than try and fix this I thought it best simply to do another install. I downloaded the latest 8.10 ISO, but grabbed the 64-bit version instead. The latest version of VirtualBox will allow you to run 64-bit guests on a 32-bit host.

However, I do seem to keep getting a “Incomplete language support” error box. Running the requested installation doesn’t seem to fix it. Or generally do anything. On top of that I seem to have got in an infinite loop of installing updates – they appear to download and install but are then pending again. Hmmm. I also built the 32-bit version at the same time (as you do) and that too had the same issues.

On the plus side, KDE is looking nice, with desktop gadgets (which I turned off) and lots of neat graphical touches. Although I am, for one, not a fan of “style over substance”, whether it’s Linux or the latest Apple product. If Linux is going to make it to the populace, it’s going to have to do better than this.

In fact, in the end I stopped using the 64-bit version and moved over to the 32-bit copy I had. I’m not going to blame Kubuntu in this case – it was slow and buggy, but I suspect this is down to the Beta nature of the 64-bit support in VirtualBox. Oh well, it was definately worth a try.

Delicious Digg Facebook LinkedIn Read It Later reddit StumbleUpon Twitter SeparatorEmail Google Translate PDF Online Print Friendly