[SunHELP] Again: Xserver connections
James Lockwood
sunhelp at sunhelp.org
Fri Feb 16 15:42:42 CST 2001
On Fri, 16 Feb 2001, Wolfgang Engelien wrote:
> F.E.: Some users log in through a telnet session
> changes the DISPLAY variable to their computers
> and open a bunch of applications. How can I
> determine which application is sent to which
> computers display?
Assuming you're doing this on a server, one of many ways to accomplish
this is:
articuno% lsof |egrep :600[0-9]
This will show you connections to other systems on ports 6000-6009,
usually used for X servers.
Scanning for the DISPLAY variable in a process environment list is not a
solution.
-James
More information about the SunHELP
mailing list