Re: XDMCP



 > What I know is how create the icons (I use gnome), I wanna know how can
I say that pablo is using this or that machine. I actually use /etc/gdm/PostLogin script for doing some voodoo in every user, but I can't find a way to know where's the user coming from (his machine ip address). Anyone can help? A tip, a path, some hacking.... :^)


Depending on how your system is set up, use utmp/wtmp

 try....

"who /var/log/wtmp"

johndoe1    ws019.perfect-image.com:0 Feb 21 06:28
johndoe2    ws010.perfect-image.com:0 Feb 21 06:41
johndoe3    ws014.perfect-image.com:0 Feb 21 06:49
johndoe3    ws013.perfect-image.com:0 Feb 21 06:52
johndoe4    ws007.perfect-image.com:0 Feb 21 06:54
johndoe5    ws009.perfect-image.com:0 Feb 21 06:58
johndoe6    ws015.perfect-image.com:0 Feb 21 07:01

etc....



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]