[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xfree86
Subject:    Re: [XFree86] Getting the list of X client from X server.
From:       Mark Vojkovich <mvojkovi () XFree86 ! Org>
Date:       2006-12-15 21:55:01
Message-ID: 20061215134716.U82728 () public ! xfree86 ! org
[Download RAW message or body]

   The server doesn't know this information.  To the server,
the client is just an anonymous listener on the other end of
a socket.  You can find out how many clients there are using
the XResource extension (example at
http://www.xfree86.org/~mvojkovi/restest.c), but other than
how many clients and what resources (pixmaps, fonts, etc...)
they are using, there's not much else you can learn from the
server.


		Mark.

On Fri, 15 Dec 2006, Seongsu Lee wrote:

> Hello,
>
> I want to get the list of X client which is currently
> connected to the X server. I will modify the X server
> if it is needed. What I want to do is to write out
> the list of X client. (If possible, I want to save
> details of each X client. For example, PID of the
> X client, IP of the X client and so on.)
>
> I think there can be a data structure to keep the list
> of X client in the X server. If it is, I want to know
> what it is.
>
> Please help me to find out the way to get the list of
> X client in the X server. Thank you very much.
>
> --
> Seongsu's blog - http://www.senux.com/
> "Never make any mistaeks." (Anonymous, in a mail
> discussion about to a kernel bug report.)
> _______________________________________________
> XFree86 mailing list
> XFree86@XFree86.Org
> http://XFree86.Org/mailman/listinfo/xfree86
>
_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic