Did you try "XFree86 -version"?
Is this the kind of info you want?
[greg@dt2 greg]$ XFree86 -version
XFree86 Version 4.1.0 / X Window System
(protocol Version 11, revision 0, vendor release 6510)
Release Date: 2 June 2001
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/FAQ)
Build Operating System: Linux 2.4.8-5mdkenterprise i686 [ELF]
Module Loader present
On Sun, 24 Mar 2002, gnorb wrote:
> Is there some tool in Xfree86 that I could use to check the version of
> it I'm running? I know that in an RPM based system I can just use rpm
> -qa | grep XFree86, but what about on a Debian system? On Slackware? Is
> there one single tool that'll be distro independent?
>
> Gnorb
>
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:37:29 EDT