Bug#285098: marked as done (Can't input anything to gdm)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 31 Mar 2005 11:33:28 -0800


Your message dated Thu, 31 Mar 2005 10:45:26 -0800
with message-id <20050331184526.GW4406@cyberhqz.com>
and subject line Bug#285098: I can reproduce it and fix it
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Dec 2004 16:41:47 +0000
>From scain@firenze.net Fri Dec 10 08:41:47 2004
Return-path: <scain@firenze.net>
Received: from host174-162.pool80181.interbusiness.it (localhost.localdomain) [80.181.162.174] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Ccnpx-0006s5-00; Fri, 10 Dec 2004 08:41:45 -0800
Received: from localhost.localdomain (smmsp@localhost [127.0.0.1])
	by localhost.localdomain (8.13.1/8.13.1/Debian-20) with ESMTP id iBAGfd3K005605;
	Fri, 10 Dec 2004 17:41:39 +0100
Received: (from patrizio@localhost)
	by localhost.localdomain (8.13.1/8.13.1/Submit) id iBAGfUlv005509;
	Fri, 10 Dec 2004 17:41:30 +0100
Message-Id: <200412101641.iBAGfUlv005509@localhost.localdomain>
X-Authentication-Warning: localhost.localdomain: patrizio set sender to scain@firenze.net using -f
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Patrizio Bruno <scain@firenze.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Can't input anything to gdm
X-Mailer: reportbug 3.4
Date: Fri, 10 Dec 2004 17:41:30 +0100
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

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


I've seen that someone else have the same problem and I wanna
add some more information to diagnose it:

- gdm doesn't accept input just if used on a kernel with the
framebuffer enabled, and changing the input method doesn't help

- gdm uses the virtual terminal 2 instead of 7 even if in gdm.conf
FirstVT is set to 7

- if I switch to vt1 with CTRL+ALT+1 when X is running and before
gdm starts and then I switch to vt7 with ALT+7 everything works fine:
it seems that the current vt is 2 but gdm expects an input on vt7

- if I kill everything on the current vt using ALT+SYSRQ+K (Sak)
all the processes attached to the vt2 will be killed, but not gdm
that should be connected to the vt7, however I can finally input
something, but not in gdm.
Gdm shows it's input dialogs (and just them) on every virtual terminal.

I thought this problem was related to the interaction between X and
the kernel framebuffer, but the problem disappeared using kdm, so now
I think it's a gdm's bug.


PS
sorry for my bad english, if something is unclear please let me know


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages gdm depends on:
ii  adduser                   3.59           Add and remove users and groups
ii  debconf                   1.4.41         Debian configuration management sy
ii  dpkg                      1.10.25        Package maintenance system for Deb
ii  enlightenment [x-window-m 1:0.16.6-3     The Enlightenment Window Manager
ii  eterm [x-terminal-emulato 0.9.2-8        Enlightened Terminal Emulator
ii  gksu                      1.2.2-1        graphical frontend to su
ii  gnome-session             2.8.1-4        The GNOME 2 Session Manager
ii  gnome-terminal [x-termina 2.8.0-2        The GNOME 2 terminal emulator appl
ii  konsole [x-terminal-emula 4:3.3.1-2      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-5        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-2        high-quality block-sorting file co
ii  libc6                     2.3.2.ds1-19   GNU C Library: Shared libraries an
ii  libcroco3                 0.6.0-2        a generic Cascading Style Sheet (C
ii  libesd-alsa0 [libesd0]    0.2.35-2       Enlightened Sound Daemon (ALSA) - 
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.8-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-6        The GNOME virtual file-system libr
ii  libgnutls11               1.0.16-13      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  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-4      compression library - runtime

-- debconf information excluded

---------------------------------------
Received: (at 285098-done) by bugs.debian.org; 31 Mar 2005 19:25:48 +0000
>From rmurray@cyberhqz.com Thu Mar 31 11:25:48 2005
Return-path: <rmurray@cyberhqz.com>
Received: from gluck.debian.org [192.25.206.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DH55A-0004kY-04; Thu, 31 Mar 2005 11:11:57 -0800
Received: from h24-80-164-222.sbm.shawcable.net (straylight.cyberhqz.com) [24.80.164.222] 
	by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DH4g7-0005ln-00; Thu, 31 Mar 2005 11:46:04 -0700
Received: from localhost (localhost [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP id DC5A223F32;
	Thu, 31 Mar 2005 10:45:32 -0800 (PST)
Received: from straylight.cyberhqz.com ([127.0.0.1])
	by localhost (straylight [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 24457-08; Thu, 31 Mar 2005 10:45:27 -0800 (PST)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
	id 05EFF23F31; Thu, 31 Mar 2005 10:45:26 -0800 (PST)
Date: Thu, 31 Mar 2005 10:45:26 -0800
From: Ryan Murray <rmurray@debian.org>
To: Enrico Zini <enrico@enricozini.org>, 285098-done@bugs.debian.org
Subject: Re: Bug#285098: I can reproduce it and fix it
Message-ID: <20050331184526.GW4406@cyberhqz.com>
References: <20050127233638.GA27164@marvin.casa>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050127233638.GA27164@marvin.casa>
User-Agent: Mutt/1.3.28i
Delivered-To: 285098-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Fri, Jan 28, 2005 at 12:36:38AM +0100, Enrico Zini wrote:
> The bug happens when someone configures more than 6 consoles in inittab:
> for example, I have this:

Yes.  There's a race condition that is very difficult to solve.  Other
?dm's don't even make an attempt, and rely on the default policy --
vt7 is where X lives.  This bug has been reported many times before,
it's been fixed by this change, which is documented.  New installs
have a comment in /etc/inittab telling you not to do this, because the
default X setup used by ever ?dm will conflict with it, and leave you
with no input.

I'm closing this bug, as there really isn't much more we can do to fix it,
unless someone wants to convince the kernel maintainers not to allow this
to happen in the first place...