From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076337821764.tru64-unix-managers.marc@archive.invalid> From: Greg Rahn Date: Thu, 29 Aug 1996 20:26:27 +0000 To: tru64-unix-managers Subject: [summary] how to tell version of X windows X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076337821764 I have heard serveral different solutions to this question, but no one person can say for sure what the fool proof way to do this is. (I dont think there is one) Here are a couple of the replies I got to try to get the version number. Thanks for all those who replied. -- Greg Rahn Student Systems Management Assistant Office of Information Technology, U of Wisconsin-Platteville rahn@uwplatt.edu http://www.uwplatt.edu/~rahn /-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\ In general, run the program "xdpyinfo" which should be part of the installed X11. This will tell a lot of information about the server. The first part is what you are interested in... name of display: unix:0.0 version number: 11.0 vendor string: MIT X Consortium vendor release number: 5000 The version number is pretty obvious. The vendor release number indicates the R level, in the above case, 5000 means R5. I have heard from some people that this isn't always accurate, especially for specific vendor's X products. This also says nothing about the libraries and other files that make it up, just the X server itself. /-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\-/-\ The preprocessor define XlibSpecificationRelease gives the X11 revision number of the X libraries on the system eg. On Digital UNIX v4.3c (X11 R5) % grep XlibSpecificationRelease /usr/include/X11/Xlib.h #define XlibSpecificationRelease 5 On Digital UNIX V4.0 (X11 R6) % grep XlibSpecificationRelease /usr/include/X11/Xlib.h #define XlibSpecificationRelease 6