Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: [gentoo-user] X11 traffic analyzer
Date: Wed, 08 Sep 2010 17:06:58
Message-Id: 201009081906.30403.wonko@wonkology.org
Hi there!

Is there such a thing as a traffic/protocol analyzer for X11? I have a 
self-written application (using the old XView toolkit), and under certain 
circumstances some dialogs do not react. I had this 2 years ago under KDE 
3.5, and some people now experience the same when SSH'ing from an OS X 
machine into openSUSE or into my gentoo machine. I'd like to see what is 
going on there.

A web search only found Xmon, but with most download links being dead, 
even on sourceforge [1] there is nothing to download. But I finally found 
a working download link on ubuntu.com [2]. The package does not compile, 
but I only had to comment out one line. According to the man page, the 
command 'xmonui | xmond' would create another X server (localhost:1), and 
I would set the DISPLAY variable to this when starting my application. 
xmond will use localhost:0, that is, the real X server, to display my 
application, but it will output all X traffic. So it is sort of a proxy to 
the real server.

Alas, it does not work, I get a 'Can't open display' error, and xmond 
outputs 'Can't open connection to Server (ECONNREFUSED)'.

Any other ideas?

	Wonko

[1] http://sourceforge.net/projects/xmon/
[2] http://packages.ubuntu.com/hardy/xmon

Replies

Subject Author
[gentoo-user] Re: X11 traffic analyzer James <wireless@×××××××××××.com>
Re: [gentoo-user] X11 traffic analyzer Adam Carter <adamcarter3@×××××.com>