On Wed, 2002-03-06 at 12:13, Daniel Feiglin wrote:
> Hi!
> 
> Does anyone know how to set up tcpdump or ethereal (or something else) to watch 
> X packets? I can see quite clearly how the socket call is set up, but I don't 
> seem to be able to make the "connection" between the C code and what the sniffer 
> utilities need. (On a regular PC X uses Unix sockets /tmp/.ICE-unix and /or 
> /tmp/.X11-unix.)

You probably want to start the X server as 'X localhost:0' (or 'xinit --
localhost:0') so it would work over TCP (I don't think Ethereal can
sniff Unix sockets). Before running applications, you might need to set
the DISPLAY env. variable to 'localhost:0' too.




=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to