how to list active X11 sessions on a local machine?
Timothy S. Nelson
wayland at wayland.id.au
Tue Aug 11 18:52:43 PDT 2009
On Tue, 11 Aug 2009, Thomi Richards wrote:
> Hi,
>
> 2009/8/11 Marius Gedminas <marius at gedmin.as>:
>> /var/log/wtmp?
>>
>
> Ahhh, brilliant. Thanks!
>
> Only slight fly in the ointment is that for the X session the other
> information isn't always set (pid, type is set to "dead process", host
> is blank etc.).
Since I'm not sure what you're doing with it, you may be able to get
additional information by using:
- netstat -ldptun [On Linux, this gives you a list of listening
ports)
- lsof (This can also do listening ports)
HTH,
---------------------------------------------------------------------
| Name: Tim Nelson | Because the Creator is, |
| E-mail: wayland at wayland.id.au | I am |
---------------------------------------------------------------------
----BEGIN GEEK CODE BLOCK----
Version 3.12
GCS d+++ s+: a- C++$ U+++$ P+++$ L+++ E- W+ N+ w--- V-
PE(+) Y+>++ PGP->+++ R(+) !tv b++ DI++++ D G+ e++>++++ h! y-
-----END GEEK CODE BLOCK-----
More information about the xorg
mailing list