Bug#551802: GDM: fails to correctly add XDMCP user's session to utmp
Margarita Manterola
margamanterola at gmail.com
Tue Oct 20 19:53:37 UTC 2009
Package: gdm
Version: 2.20.7-4lenny1
Severity: important
Forwarded: https://bugzilla.gnome.org/show_bug.cgi?id=599103
Hi!
Since gdm version 2.20, gdm has stopped using the sessreg command to
register user sessions in utmp, and it uses its own code to do the
registration. This code, however, does not work properly when the
session is remote. All users are given the id that corresponds to the
first 4 characters of the host, which taking into account that no
resolution is used, tends to be "192.". Since this id is supposed to
be unique, all users are registered with the same id, and only one is
shown.
$ who
maxy tty3 2009-10-15 10:46
jtelez 2009-10-20 09:41 (192.168.200.110:0)
marga pts/19 2009-10-20 09:53 (192.168.200.108:0.0)
$ ps axu | grep gnome-session | grep -v dbus | grep -v seahorse
marga 4308 0.0 0.4 31624 5972 ? Ssl 09:40 0:00
/usr/bin/gnome-session
maxy 4746 0.0 0.3 31536 5892 ? Ssl 09:40 0:00
/usr/bin/gnome-session
jtelez 5647 0.0 0.4 31616 5984 ? Ssl 09:41 0:00
/usr/bin/gnome-session
Despite the fact that there are actually 3 sessions started, only one
is shown by the who command, because the id is "192." for the three of
them.
More data about this bug can be found in this mail, by Maximiliano Curia:
http://mail.gnome.org/archives/gdm-list/2009-October/msg00004.html
Maximiliano has prepared a patch for gdm 2.20.7 (lenny's), and we've
tested it with success in our environment, which I'm attaching to this
mail. It'd be nice if this patch could be applied to lenny's gdm, so
that other people using XDMCP don't have to experience the same.
I have already reported it upstream as:
https://bugzilla.gnome.org/show_bug.cgi?id=599103
--
Besos,
Marga
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 80_utmp_fix.patch
Type: text/x-diff
Size: 1988 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091020/615e426f/attachment.patch>
More information about the pkg-gnome-maintainers
mailing list