After upgrading to Hardy Herron some pretty critical Java applications stopped working – they all crashed with this error:

java: xcb_xlib.c:82: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.

This particular application uses IBM JRE but the error is the same in Sun Java 6.

Apparently it’s a known problem in Java and the initial response is that it should be fixed in Java 7.

A workaround is to add the following line to ~/.profile:


Remember to log out and in to activate the change.

In it’s default configuration Desktop Effects are disabled for various graphics chips including Intel X3100 (GM965/GL960) which is what’s in my Lenovo T61.

There is an easy way of disabling the blacklist – locate this line in /usr/bin/compiz:

T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12"  # intel 965

Note: Intel 965 has been removed from the blacklist in Hardy. On the other hand compiz started crashing on me after upgrading to Hardy so YMMV.

Update: (16-01-2008) After updating compiz today it no longer crashes.

Update: (08-02-2008) I have simply given up on compiz. It runs for a few minutes then crashes. I am not the only with this problem.

Please read the updated article instead.

AT&T now have a version of their Global Network Client for Linux (if you don’t what it is then you don’t need it). Unfortunately they only released it for RPM based distributions.

There are some limitations in the Linux version; most noticeably it only
supports SSL.

Various persons have reported that converting the packages using


does not work.

Not to worry, a kind soul has taken the time create a script that converts the RPMs to a working Debian package.

  1. Download the client from AT&T
  2. Get this script from André F. Macêdo’s website (mirror)
  3. Setup the right environment:

    $ chmod 700
    $ ./ --deps
  4. and then convert the downloaded RPM:

    $ ./ <name of RPM>
    Package convert process completed! Please report problems on
    $ sudo dpkg -i agnclient_<version>-1.1_i386.deb

If you have IBM Mobility Client running you need to stop the daemon before trying to connect using AT&T Netclient

$ sudo /etc/init.d/ibm-wclient stop

Gmail Filesystem provides a mountable Linux filesystem which uses your Gmail account as its storage medium. Gmail Filesystem is a Python application and uses the FUSE userland filesystem infrastructure to help provide the filesystem, and libgmail to communicate with Gmail.

There is a problem with gmailfs in Gutsy or rather libgmail

$ sudo mount.gmailfs none /gmailfs
HTTP Error 400: Bad Request

Fortunately the fix is easy (or workaround until the libgmail package is updated).

$ sudo install python-setuptools
$ sudo easy_install --upgrade libgmail

This one has caused my some head aches; I wanted to use ISO-8859-1(5) but no matter what I did, GNOME Terminal would select ANSI_X3.4-1968 as character encoding (screwing up everything related to danish characters).

The solution:

  1. Create or edit the file


    en_DK ISO-8859-15
  2. Regenerate locales:

    $ sudo locale-gen --purge
    Generating locales...
      en_AU.UTF-8... done
      en_BW.UTF-8... done
      en_CA.UTF-8... done
      en_DK.ISO-8859-15... done
      en_DK.UTF-8... done
      en_GB.UTF-8... done
      en_HK.UTF-8... done
      en_IE.UTF-8... done
      en_IN.UTF-8... done
      en_NZ.UTF-8... done
      en_PH.UTF-8... done
      en_SG.UTF-8... done
      en_US.UTF-8... done
      en_ZA.UTF-8... done
      en_ZW.UTF-8... done
    Generation complete.
  3. Log out and from GDM select language “English (Denmark)” and answer yes

The default method of hibernation provided by powermanagement-interface seems to be flaky at best (it does not work on either my T41 or my T61).

Luckily µswsusp works out of the box

After installing the uswsusp package you need to make sure to “remove” ACPI hibernation as this is the first choice of hibernation selected by the HAL scripts called from GNOME. You must also make sure that no other hibernation packages are installed.

$ sudo apt-get remove hibernate
$ sudo apt-get install uswsusp
$ sudo dpkg-divert --rename --divert /etc/acpi/ /etc/acpi/
$ sudo ln -sf /sbin/s2disk /usr/sbin/s2disk

If you want to make use of the hibernate button make the following changes:

First we divert the event script used by ACPI so our own script will not be overwritten when the acpi-support package is upgraded

$ sudo dpkg-divert --rename --divert /etc/acpi/ /etc/acpi/

Then create a new


with this simple content


Optionally, if you want the spiffy splash screens duringhibernate/restore, also install the splashy and splashy themes (you’ll have to edit


and add a line saying “splash = y” to use them)

$ sudo apt-get install splashy splashy-themes

VCP logo

After taking my time to get around to it I took the exam today and passed. I am now a VMware Certified Professional