Hi all.

Finally I got the answer. gdm (the session manager I use) runs a script
before entering a session, which is located in:

/etc/gdm/PreSession/Default

In my box, the script runs sessreg with no "utmp". So I have changed it
to:

/usr/bin/X11/sessreg -a -w /var/log/wtmp -u /var/run/utmp -l $DISPLAY
$USER

And now gkrellm, finger, w and who shows the user connected.

Thanks to all.

> Hi all.
> 
> I am worried about something I noticed this week. I am using gkrellm to
> monitor the system in a Woody box (with kernel 2.4.18), and it shows
> there are no users even when I'm logged.
> 
> Again, in a shell window, a "who" command returns no users, when it
> should return at least one (jayraldyn).
> 
> Should I be worried? Can it be a bug or something misconfigured?
> 
> Thanks.
> 

-- 
Jayr Al-Dyn
Usuario Linux #95614 en counter.li.org
http://www.jayraldyn.net

Attachment: signature.asc
Description: Esta parte del mensaje esta firmada digitalmente

Reply via email to