A bit simpler with: XFree86 -version