[Novalug] How to determine an imcoming XWindows application display source
Russell Evans
russell-evans@qwest.net
Mon Jun 4 21:29:46 EDT 2007
On Mon, 4 Jun 2007 20:36:23 -0400
"Terence Johnson" <tljtex@gmail.com> wrote:
> Trying to figure out how to determine the source of an incoming XWindows
> application, remoted to my local desktop.
>
> Suppose I am on computer1 and someone on computer2 sets their
> DISPLAY=computer1:0.0
> When computer2 launches xlogo, it will pop-up in computer1.
>
> I realize as root I can tcpdump the port, but how would I determine the
> source of the application if I'm not root?
cat /proc/net/ip_conntrack
If the module isn't loaded then netstat will give you a list of connections.
Thank you
Russell
More information about the Novalug
mailing list