Hi,

Lionel Lecoq wrote:

> sorry about that, I did not realise that this was the case. Would
> looking at the log work?

Which log? My /var/log has the following three log files:
XFree86.0.log   XFree86.20.log  XFree86.21.log

The second and third file come from xnest logins (nicely integrated in
gdm).

> on a local installation it works (kind of
> lousy solution but might help) Lionel

Even in local installations, it doesn't work.

It gives you the version of the X server installed as /usr/bin/X11/X (or
wherever in your path it is), whereas the OP wanted to know the version
of the currently running server. One can have more than one X server
installed e. G. on a mixed card multi-head or multi-console machine, or
because he has a 3.X and a 4.X server, or a stable and a development
version. (I don't want to know how many X servers an average X core team
member has on his machines :-)

You made the silent assumption that it is a local server, and there is
only one.

I made the silent assumption that "currently running" means the X server
the client connected to.

The OP was not really exact in his first posting, so both assumptions
were legal.

Markus

-- 
"GPL software is not free - the cost is cooperation"
_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to