Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack OverflowThe question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the application. Is there a way to do it if the application doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the application. Is there a way to do it if the application doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the application. Is there a way to do it if the application doesn't play nice?

_NET_WM_PID is set by the client, not the window manager (thanks ephemient)
Source Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the window managerapplication. Is there a way to do it if your window managerthe application doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the window manager. Is there a way to do it if your window manager doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the application. Is there a way to do it if the application doesn't play nice?

fixed error in property name
Source Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the NET_WM_PID_NET_WM_PID property. But that's set by the window manager. Is there a way to do it if your window manager doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the NET_WM_PID property. But that's set by the window manager. Is there a way to do it if your window manager doesn't play nice?

Given an X11 window ID, is there a way to find the ID of the process that created it?

Of course this isn't always possible, for example if the window came over a TCP connection. For that case I'd like the IP and port associated with the remote end.

The question was asked before on Stack Overflow, and a proposed method was to use the _NET_WM_PID property. But that's set by the window manager. Is there a way to do it if your window manager doesn't play nice?

Source Link
Gilles 'SO- stop being evil'
  • 865.3k
  • 205
  • 1.8k
  • 2.3k
Loading