Red Hat Bugzilla – Bug 3080
gdm doesn't write utmp entry like xdm does...
Last modified: 2008-05-01 11:37:50 EDT
xdm writes utmp/wtmp entries during login/logout in
GiveConsole and TakeConsole like so:
GiveConsole:/usr/X11R6/bin/sessreg -a -w "/var/log/wtmp" -u
TakeConsole:/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u
But gdm doesn't, so when I log in via gdm, I can see "0
users".. this isn't a really big deal, but is it possible
that it could be fixed to track logins/logouts via gdm?
This can be fixed by the following, could you please include in next
cp /etc/X11/xdm/GiveConsole /etc/X11/gdm/PreSession/Default
cp /etc/X11/xdm/TakeConsole /etc/X11/gdm/PostSession/Default
This issue has been forwarded to a developer for further review
Added mkp to CC so that he can evaluate this change for the next
version of gdm.
*** This bug has been marked as a duplicate of 2614 ***