Re: [XFree86] how to get socket ID for a window? (Window ID=Process ID)

2004-03-23 Thread Mark Vojkovich
Maybe that info is in the X-server someplace. It's certainly not available outside of the X-server. Mark. On Mon, 22 Mar 2004, dave giffin wrote: no, xkill seems to send a destroy or kill event to the window. is there a way to find out which socket a window

Re: [XFree86] how to get socket ID for a window? (Window ID=Process ID)

2004-03-23 Thread [EMAIL PROTECTED]
Quoting dave giffin [EMAIL PROTECTED]: no, xkill seems to send a destroy or kill event to the window. is there a way to find out which socket a window comes from? (Window ID= Socket ID) Not sure if this is what you want. tty enter gives your terminal ID ps -elf|grep pts/ will give

Re: [XFree86] how to get socket ID for a window? (Window ID=Process ID)

2004-03-22 Thread dave giffin
no, xkill seems to send a destroy or kill event to the window. is there a way to find out which socket a window comes from? (Window ID= Socket ID) --- Lieven Buts [EMAIL PROTECTED] wrote: On Sunday 21 March 2004 10:00, dave giffin wrote: I would like to know how to find out which linux

[XFree86] how to get socket ID for a window?

2004-03-21 Thread dave giffin
I would like to know how to find out which linux process created a window (for this, I'm only interested in local processes, not a networked environment). It has been suggested that I use netstat to tell which sockets belong to a given process. But, how to I know which window(s) belongs to a

Re: [XFree86] how to get socket ID for a window?

2004-03-21 Thread Lieven Buts
On Sunday 21 March 2004 10:00, dave giffin wrote: I would like to know how to find out which linux process created a window (for this, I'm only interested in local processes, not a networked environment). Isn't this what xkill does? If so, the answer should be in its source. -- Lieven Buts