It looks like you don't have the X libraries installed. HQ requires that the xlibs be present to generate the charts in the product. (Note that you do not need to be running X). There is an open bug around this issue to make it more apparent what the problem is: