How can I find out what clients are connected to an X server display?
This is more of a general Unix question than a Linux question, but here it goes anyway...
I recently have been experimenting with running an Exceed X server on my standard-issue Windows laptop in order to display the X applications that I run on the RHEL server farm at work. I had to do a bit a messing around and experimenting at first, during which I launched lots of X clients from different machines. Now I have everything working more or less the way I want. However, if I lock the screen on my laptop and come back, it appears there is a stray xscreensaver processes running somewhere on the server farm that is connected to my Exceed X server. This got me wondering if there is a way to enumerate all of the X clients connected to a given X display. Maybe something similar to the xdpyinfo command? My googling hasn't turned up any hints... |
Maybe try using
Code:
lsof -i |
All times are GMT -5. The time now is 10:10 PM. |