Ilya Konstantinov wrote:
> 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.
> 
> 
> 

The xinit --localhost:0 did it for ethereal. I have yet to get tcpdump work here 
- but that's just a matter of perserverance. The main thing is that I can now 
put an external check on what I want to do.

Thanks.

> 
> 




=================================================================
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