Red Hat Bugzilla – Bug 84026
gdm does not update /var/run/utmp correctly
Last modified: 2007-04-18 12:51:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
gdm does not update /var/run/utmp correctly when logging in via xdmcp. The first
user seems to be added correctly but all subsequent logins replace the previous
login. So 'who/w/finger' only ever shows one X terminal style login even though
there are many more.
wtmp seems to be correct. That is, last correctly shows that last and current
The only changes I have made to the gdm setup from a default install is to the
gdm.conf file. Here is the diff between my gdm.conf and the one supplied in RH 8.0
diff gdm.conf gdm.conf-redhat
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make changes to gdm.conf to allow xdmcp logins
2. restart gdm
3. start logins from 2 or more xterminals via xdmcp and observe the output of
Actual Results: Only the last xdmcp login is displayed with who/w/finger even
though the last command shows more than one "still logged in".
Expected Results: All users should be in who/w/finger output
Note that this is the way that the redhat package handles the Pre/PostSession
scripts. upstream will handle this correctly.
Hmmm, apparently recent RPMS do this correctly, but I think if you upgrade from
a version that did it wrongly (don't know which was the last version that did
that) you might still get wrong links in the PreSession/PostSession dirs. See
bug #101105 since that's related (well really the same exact problem I think).
*** This bug has been marked as a duplicate of 101105 ***