Red Hat Bugzilla – Bug 101105
incorrect user listing reported
Last modified: 2007-11-30 17:10:31 EST
Description of problem:
When XDMCP is enabled in gdm, and multiple users log in, it appears that only
the latest user is shown when doing a user listing with the w, who or users
command. The output of 'last' is correct though.
Steps to Reproduce:
1. Enable XDMCP
2. Log in 2 users
3. type w
Only the last user to log in is shown
All users logged in should be shown
Hmmm, strange, this should work. Make sure the /etc/X11/gdm/PreSession/Default
and /etc/X11/gdm/PostSession/Default are not links to TakeConsole and
GiveConsole from the xdm tree. For some reason the RPM treats these as config
it seems and doesn't upgrade them correctly. Perhaps there are some .rpmnew
files there which will make it work.
Also linking TakeConsole and GiveConsole like that is a security risk btw since
people are given /dev/console access on remote logins. Perhaps the RPM specfile
should make sure that the gdm's own scripts are forced on update rather then
using old TakeConsole and GiveConsole links (I don't know which version of
redhat stopped doing that since the changelog in the spec file doesn't say)
Created attachment 93391 [details]
Default RedHat 9 PreSession/Default file. This is not a symlink.
Created attachment 93392 [details]
Default Redhat 9 PostSession/Default file, also not a symlink. Nothing else is
in the PreSession or PostSession directories.
Weird. I get correct w and last listing with the stock RH9 RPM no matter what I
do. Is there anything else that is changed about your configuration? I have
used stock config from redhat but just enabled XDMCP. I have wiped the
/etc/X11/gdm directory clean before installing the RPM, so I know I have exactly
from the RPM.
I rebuilt the box a few weeks ago when we upgraded the server, and I didn't set
up anything special. These are the differences from the default settings. I
don't see how any of them should/could effect it.
Is there anything I can do to see what is going wrong?
[pza@dominic gdm]$ diff factory-gdm.conf gdm.conf
This is the same as bug #84026
Still happens with Fedora Core 1
Working fine in FC2 Test 3
*** Bug 84026 has been marked as a duplicate of this bug. ***