I'd like to get a list of all of the apps (across all users) on my machine that are talking to the X server. What's the most reliable way to do that? Find the socket X runs on and lsof for connections to it? I'm running both Linux and Solaris boxes, so I'd be interested in answers for both OS's.

2 Answers 2




I'm not sure about Solaris:

xrestop might be helpful.

  • 1
    xlsclients is just the same on Solaris as it is on Linux and all other Unix-like systems.
    – alanc
    Dec 30, 2016 at 5:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .