Bug#290916: gdm always stops working altogether after a few days (no response to xdmcp)

Vaclav Smilauer Vaclav Smilauer <eudoxos@arcig.cz>, 290916@bugs.debian.org
Mon, 17 Jan 2005 19:43:32 +0100


Package: gdm
Version: 2.6.0.4-1
Severity: grave
Justification: renders package unusable


GDM manages a few dozens of thin clients. After a variable time (few days), it stops working - clients start X server without getting any 
login screen. Gdm must be restarted (or even -KILLed) (shooting down any X sessions already running), then everything works again. 
This happened about 8 times in the last month. Problem is not specific to a single client, after THE MOMENT XDMCP works nowhere. Limits 
set in gdm.conf (MaxSessions=1024,DisplaysPerHost=4) can be never exceeded. I read about DNS-related problemswith XDMCP, but that does not 
seem to be the problem here; the DNS server is rather reliable.

X server logs from thin clients show nothing interesting.

Relevant portion of gdm debug log (obviously 12:52:40 problem happened, 14:35 killed and started again) is below.

Help is very needed and greatly appreciated, I will be glad to send any additional information.

Regards, Vaclav Smilauer

/var/log/gdm/current:
[...]
Jan 17 12:52:26 [gdm] (child 14316) gdm_slave_alrm_handler: ag512-2.arcig:0 got ARLM signal, to ping display
Jan 17 12:52:27 [gdm] (child 16619) gdm_slave_alrm_handler: ag512-20.arcig:0 got ARLM signal, to ping display
Jan 17 12:52:28 [gdm] (child 16066) gdm_slave_alrm_handler: ag512-1.arcig:0 got ARLM signal, to ping display
Jan 17 12:52:29 [gdm] (child 18392) gdm_slave_alrm_handler: ag512-15.arcig:0 got ARLM signal, to ping display
Jan 17 12:52:30 [gdm] (child 32520) gdm_slave_alrm_handler: ag512-16.arcig:0 got ARLM signal, to ping display
Jan 17 12:52:30 [gdm] gdm_xdmcp_decode: Received opcode REQUEST from client 10.2.2.3
Jan 17 12:52:30 [gdm] gdm_xdmcp_handle_request: Got REQUEST from 10.2.2.3
Jan 17 12:52:30 [gdm] gdm_xdmcp_host_allow: client->hostname is ag202-3.arcig_
Jan 17 12:52:30 [gdm] gdm_xdmcp_handle_request: xdmcp_pending=0, MaxPending=4, xdmcp_sessions=25, MaxSessions=1024, ManufacturerID=
Jan 17 12:52:30 [gdm] gdm_xdmcp_display_dispose_check (ag202-3.arcig:0)
Jan 17 12:52:30 [gdm] gdm_display_unmanage: Stopping ag202-3.arcig:0 (slave pid: 21194)
Jan 17 12:52:40 [gdm] whack_old_slave: GOT ANOTHER SIGTERM (or it was 10 secs already), killing slave again
                - Last output repeated 633 times -
Jan 17 14:35:33 [gdm] whack_old_slave: Slave crashed (signal 1), killing its children
Jan 17 14:35:33 [gdm] gdm_display_dispose: Disposing ag202-3.arcig:0
Jan 17 14:35:33 [gdm] gdm_display_unmanage: Display stopped
Jan 17 14:35:33 [gdm] gdm_auth_secure_display: Setting up access for ag202-3.arcig:0
Jan 17 14:35:33 [gdm] gdm_auth_secure_display: Setting up access
Jan 17 14:35:33 [gdm] gdm_auth_secure_display: Setting up access for ag202-3.arcig:0 - 1 entries
Jan 17 14:35:33 [gdm] gdm_xdmcp_display_alloc: display=ag202-3.arcig:0, session id=1796730052, xdmcp_pending=1
Jan 17 14:35:33 [gdm] gdm_xdmcp_send_accept: Sending ACCEPT to 10.2.2.3 with SessionID=1796730052
[...]


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9w4l
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ (charmap=ISO-8859-2) (ignored: LC_ALL set to cs_CZ)

Versions of packages gdm depends on:
ii  adduser                   3.59           Add and remove users and groups
ii  debconf                   1.4.39         Debian configuration management sy
ii  dpkg                      1.10.24        Package maintenance system for Deb
ii  flwm [x-window-manager]   1.00-5.1       Fast Light Window Manager
ii  gksu                      1.2.2-1        graphical frontend to su
ii  gnome-session             2.8.1-3        The GNOME 2 Session Manager
ii  gnome-terminal [x-termina 2.8.2-1        The GNOME 2 terminal emulator appl
ii  icewm [x-window-manager]  1.2.16-1       wonderful Win95-OS/2-Motif-like wi
ii  konsole [x-terminal-emula 4:3.3.0a-1     KDE X terminal emulator
ii  libart-2.0-2              2.3.16-6       Library of functions for 2D graphi
ii  libatk1.0-0               1.8.0-3        The ATK accessibility toolkit
ii  libattr1                  2.4.18-1       Extended attribute shared library
ii  libaudiofile0             0.2.6-4        Open-source version of SGI's audio
ii  libbonobo2-0              2.8.0-3        Bonobo CORBA interfaces library
ii  libbonoboui2-0            2.8.0-2        The Bonobo UI library
ii  libbz2-1.0                1.0.2-1        A high-quality block-sorting file 
ii  libc6                     2.3.2.ds1-18   GNU C Library: Shared libraries an
ii  libcroco3                 0.6.0-2        a generic Cascading Style Sheet (C
ii  libesd0                   0.2.35-2       Enlightened Sound Daemon - Shared 
ii  libgconf2-4               2.8.1-4        GNOME configuration database syste
ii  libgcrypt11               1.2.0-10       LGPL Crypto library - runtime libr
ii  libglade2-0               1:2.4.0-1      Library to load .glade files at ru
ii  libglib2.0-0              2.4.7-1        The GLib library of C routines
ii  libgnome-keyring0         0.4.0-2        GNOME keyring services library
ii  libgnome2-0               2.8.0-6        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0         2.8.0-1        A powerful object-oriented display
ii  libgnomeui-0              2.8.0-3        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0            2.8.3-8        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-9       GNU TLS library - runtime library
ii  libgpg-error0             1.0-1          library for common error values an
ii  libgsf-1                  1.11.1-1       Structured File Library - runtime 
ii  libgtk2.0-0               2.4.13-1       The GTK+ graphical user interface 
ii  libice6                   4.3.0.dfsg.1-8 Inter-Client Exchange library
ii  libjpeg62                 6b-9           The Independent JPEG Group's JPEG 
ii  liborbit2                 1:2.10.2-1.1   libraries for ORBit2 - a CORBA ORB
ii  libpam-modules            0.76-22        Pluggable Authentication Modules f
ii  libpam-runtime            0.76-22        Runtime support for the PAM librar
ii  libpam0g                  0.76-22        Pluggable Authentication Modules l
ii  libpango1.0-0             1.6.0-3        Layout and rendering of internatio
ii  libpopt0                  1.7-5          lib for parsing cmdline parameters
ii  librsvg2-2                2.8.1-1        SAX-based renderer library for SVG
ii  libselinux1               1.18-3         SELinux shared libraries
ii  libsm6                    4.3.0.dfsg.1-8 X Window System Session Management
ii  libtasn1-2                0.2.10-4       Manage ASN.1 structures (runtime)
ii  libwrap0                  7.6.dbs-6      Wietse Venema's TCP wrappers libra
ii  libx11-6                  4.3.0.dfsg.1-8 X Window System protocol client li
ii  libxext6                  4.3.0.dfsg.1-8 X Window System miscellaneous exte
ii  libxml2                   2.6.11-5       GNOME XML library
ii  metacity [x-window-manage 1:2.8.6-1      A lightweight GTK2 based Window Ma
ii  twm [x-window-manager]    4.3.0.dfsg.1-8 Tab window manager
ii  xbase-clients             4.3.0.dfsg.1-8 miscellaneous X clients
ii  xlibs                     4.3.0.dfsg.1-8 X Window System client libraries m
ii  xterm [x-terminal-emulato 4.3.0.dfsg.1-8 X terminal emulator
ii  zlib1g                    1:1.2.2-3      compression library - runtime

-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm