how to make a video from the gameEngine under linux?

It is possible to make a video from the running gameEngine in blender? I tried to search from some general purpose X screen-capture program but found nothing…

I would like to know this as well…

import Rasterizer
Rasterizer.makeScreenshot(filename)

the file type is tga
enjoy

Thanks!

work for me too…
thanks a lot…