Bug 3080 - gdm doesn't write utmp entry like xdm does...
gdm doesn't write utmp entry like xdm does...
Status: CLOSED DUPLICATE of bug 2614
Product: Red Hat Linux
Classification: Retired
Component: gdm (Show other bugs)
i386 Linux
low Severity medium
: ---
: ---
Assigned To: David Mason
Depends On:
  Show dependency treegraph
Reported: 1999-05-26 21:36 EDT by Joseph Malicki
Modified: 2008-05-01 11:37 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-08-31 15:08:07 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Joseph Malicki 1999-05-26 21:36:33 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
"/var/run/utmp" \
TakeConsole:/usr/X11R6/bin/sessreg -d -w "/var/log/wtmp" -u
"/var/run/utmp" \

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?
Comment 1 Joseph Malicki 1999-05-26 22:59:59 EDT
This can be fixed by the following, could you please include in next

mkdir /etc/X11/gdm/{Pre,Post}Session
cp /etc/X11/xdm/GiveConsole /etc/X11/gdm/PreSession/Default
cp /etc/X11/xdm/TakeConsole /etc/X11/gdm/PostSession/Default
Comment 2 Jay Turner 1999-05-27 10:34:59 EDT
This issue has been forwarded to a developer for further review
Comment 3 Michael K. Johnson 1999-07-12 16:57:59 EDT
Added mkp to CC so that he can evaluate this change for the next
version of gdm.
Comment 4 Elliot Lee 1999-08-31 15:08:59 EDT
*** This bug has been marked as a duplicate of 2614 ***

Note You need to log in before you can comment on or make changes to this bug.