If everyday of this new year is like the first, I’ll bet that 2009 is going to change a lot of habits in personal computing.

Today, I updated VirtualBox to the version 2.1.  I must say that I was much surprised when I read in the changelog that experimental support for OpenGL has been added to this release.  WOW!  Virtualized 3D!?  Out of the box?  With no other configuration than installing the updated guest additions?  WOW!

Then I was surprised again: Host networking now works without a bridged interface, without TUN/TAP!  I must say that it took a lot of efforts, many days of trials, to finally configure automatic bridged host interface creation with the needed user rights for several VM running on the same host (I wished that my VM’s started at boot, like any other service).  And now this also comes out of the box!? WOW again!

I believe Sun/Innotek’s engineers have hired Popeye or ate a lot of spinash-for-their-mind during the last 6 months of 2008 (hum, in fact I don’t really believe this, but… why not?).

If these two functionalities prove to be stable and working, the final last two ones I’ll need for virtualization is more user-friendly USB support and correct sound support for PulseAudio, which is very scratchy on my PC.  I’m convinced that PulseAudio has a better design that ALSA or OSS, but it still isn’t satisfying when used with VirtualBox. (Yes, I know there are still a lot of features to improve or to add, but to be honest, these are not the ones I need at this time.)

Here is how I use VirtualBox:

On my desktop PC:

  • Virtualization of Windows.  I try to avoid to use Windows, especially because of two reasons: it’s not free and very vulnerable to viruses.  So I installed it in a VM.  Having only Linux, I miss some games running only on Windows.
  • Virtualization for new OSes which I’d like to test.

On my server:

  • Separation of concerns: each different kind of server software is installed in a different VM, so if one proves to be unstable or vulnerable to attacks, others are kept untouched.
  • Decoupling services from the host server.  This permits me to keep my infrastructure unchanged when I update or change the OS of the host server.
  • Creation of two network zones (internal and DMZ).

I’ll first try this new version of VirtualBox on my desktop, and after everything is fine, I’ll put it on the server.

Let’s mention that all my appliances (server, desktop and laptops), are run with openSUSE 11 and 11.1.

—-

…Some days (3) have passed now during which I could test the changes in VirtualBox 2.1.

  • OpenGL works well most of the time, but is still unstable, on a Windows Vista guest and openSUSE 11.1 host with ATI GPU.  Good news.  Note that I tried OpenGL with the Really Slick Screensavers, and that some made the virtual machine crash, although others work quite fine.
  • Host networking works out of the box.  Very good news.  Here I have nothing special to say, it does all I want, and configuration is really simple: you only have to say that you want host networking instead of NAT.  It’s very comfortable to remove all complicated configuration while still yielding the same results.  Especially when several VMs are running on the same host.

VirtualBox engineers hold their promises, they do nothing more, but they do it well.  What the changelog says is effectively what you get.  I’ll finally be able to run a Linux host and still to be able to play 3D games without dualbooting.

From my end-user point of view, I can say that this year begins quite well, and I wish you the same.

Have a happy new year!

To install Maven 2.0.9 on an openSUSE 11.0 computer, do the following steps:

  1. Download Maven
  2. Unzip/untar Maven in a subdirectory of /opt : I unzipped the files in /opt/yannick/apache-maven-2.0.9
  3. Link this directory to /opt/yannick/maven (This link will be used in the config file, so if you update maven to another version, you’ll only have to redirect the link to the new directory, and there will be no need to remove the existing directories before you’re sure that the update works as you want).
  4. Edit the file /etc/bash.bashrc.local (/etc/bash.bashrc states that all manual modifications should be done in /etc/bash.bashrc.local) and append the following lines:
    • export M2_HOME=/opt/yannick/maven
    • export M2=$M2_HOME/bin
    • export MAVEN_OPTS=”-Xms256m -Xmx512m”
    • export PATH=$M2:$PATH
  5. Open the console and execute the command: mvn --version to verify the installation

You may follow these steps in parallel with those described on the Maven website.

Exit KMail, make a backup of ~/.kde4/share/config/kmailrc, then open it with an editor and add e.g. folders=/home/username/.mail to the “[General]” section. Then move all your existing folders (including the hidden index files) to the new location. The next time you start KMail will use /home/username/.mail instead of /home/username/.kde/share/apps/kmail. Note that KMail will lose its filters if you change the mail folder’s location but forget to move your existing folders.

Modifications in the Firewall config are necessary to enable bridging:

In the YAST2 sysconfig editor:

  1. In Network -> General: set IP_FORWARD to yes
  2. In Network -> Firewall -> SUSEfirewall2: set FW_FORWARD_ALLOW_BRIDGING to yes
  3. In Network -> Firewall -> SUSEfirewall2: set FW_FORWARD_ALWAYS_INOUT_DEV to br0 (the bridge which is used)

Add chmod 0660 /dev/net/tun and chown virtualuser /dev/net/tun to the boot file /etc/init.d/boot.local, so that the user of virtual machines has access to the device.

This Linux distribution is finally out.  I installed it.  A simple update from openSUSE 10.3 to openSUSE 11.0.  Without any problem.

For the configuration, YaST2 is still present and still contains all necessary graphical tools, which most of other distros lack.

The new package management tool is probably the most important change in this version. It’s lightening fast, and I’ve got the impression that there are still more applications available.

The new KDE4 is quite promising, but I’m still using KDE 3.5, because it’s more stable.  With 10.3, I never managed to install Gnome and KDE simultaneously on the same machine.  This issue is now resolved.

Finally, I’m quite impressed by the overall quality of this release.  It comforts me believing that openSUSE is the most advanced Linux distribution out there, and I’ll still continue to use it on my personal computers (one Acer 5920 Laptop and two desktop PCs, one used as a server PC with virtualization using VirtualBox and one used as a desktop PC with all multimedia and desktop applications).

In the future, I would appreciate that developers focus on the individual applications and drivers, to reach a very high level of desktop functionality.  That’s where Windows and MacOS still lead.  And that’s what Linux lacks to become a real alternative to Windows and MacOS for the everyday user.