Bug#337862: marked as done (gdm: Keyboard disabled on first startup)

Debian Bug Tracking System owner at bugs.debian.org
Thu Nov 17 08:48:14 UTC 2005


Your message dated Thu, 17 Nov 2005 00:45:55 -0800
with message-id <20051117084555.GH22785 at cyberhqz.com>
and subject line Bug#337862: gdm: Keyboard disabled on first startup
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; 6 Nov 2005 22:53:16 +0000
>From peterk at debian.org Sun Nov 06 14:53:16 2005
Return-path: <peterk at debian.org>
Received: from mail42.e.nsc.no [193.213.115.42] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EYtNz-0004DD-00; Sun, 06 Nov 2005 14:53:16 -0800
Received: from softwolves.dyndns.org (062016248123.customer.alfanett.no [62.16.248.123])
	by mail42.nsc.no (8.12.11/8.12.11) with ESMTP id jA6Mr4gj015732
	for <submit at bugs.debian.org>; Sun, 6 Nov 2005 23:53:05 +0100 (CET)
Received: from perkele (perkele [10.1.1.1])
	by softwolves.dyndns.org (Postfix) with ESMTP id 7E09E5F0
	for <submit at bugs.debian.org>; Sun,  6 Nov 2005 23:53:01 +0100 (CET)
Received: by perkele (Postfix, from userid 501)
	id BB0FACA7; Sun,  6 Nov 2005 23:53:00 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Peter Karlsson <peterk at debian.org>
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: gdm: Keyboard disabled on first startup
X-Mailer: reportbug 3.8
Date: Sun, 06 Nov 2005 23:53:00 +0100
Message-Id: <20051106225300.BB0FACA7 at perkele>
Delivered-To: submit at 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-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: gdm
Version: 2.6.0.8-1
Severity: important

At the first startup from power-down, the gdm login window does not accept
keyboard input. The mouse works. Logging in remotely and doing a
"/etc/init.d/gdm restart" makes the keyboard work again, and it does not
fail again until after the next reboot.

Keyboard and mouse are both regular PS/2. I don't think this behaviour came
directly after upgrading to Sarge, I believe it was introduced by a security
upgrade, but since I seldom reboot I can't tell exactly.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26
Locale: LANG=sv, LC_CTYPE=sv (charmap=ISO-8859-1) (ignored: LC_ALL set to sv_SE.ISO8859-1)

Versions of packages gdm depends on:
ii  adduser            3.63                  Add and remove users and groups
ii  debconf            1.4.30.13             Debian configuration management sy
ii  dpkg               1.10.28               Package maintenance system for Deb
ii  gksu               1.2.5-3               graphical frontend to su
ii  gnome-session      2.8.1-6               The GNOME 2 Session Manager
ii  gnome-terminal [x- 2.8.2-2               The GNOME 2 terminal emulator appl
ii  icewm [x-window-ma 1.2.20+21pre1-3       wonderful Win95-OS/2-Motif-like wi
ii  icewm-gnome [x-win 1.2.20+21pre1-3       wonderful Win95-OS/2-Motif-like wi
ii  konsole [x-termina 4:3.3.2-1sarge1       KDE X terminal emulator
ii  libart-2.0-2       2.3.17-1              Library of functions for 2D graphi
ii  libatk1.0-0        1.8.0-4               The ATK accessibility toolkit
ii  libattr1           2.4.16-1              Extended attribute shared library
ii  libbonobo2-0       2.8.1-2               Bonobo CORBA interfaces library
ii  libbonoboui2-0     2.8.1-2               The Bonobo UI library
ii  libc6              2.3.2.ds1-22          GNU C Library: Shared libraries an
ii  libgconf2-4        2.8.1-6               GNOME configuration database syste
ii  libglade2-0        1:2.4.2-2             library to load .glade files at ru
ii  libglib2.0-0       2.6.4-1               The GLib library of C routines
ii  libgnome2-0        2.8.1-2               The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.8.0-1               A powerful object-oriented display
ii  libgnomeui-0       2.8.1-3               The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0     2.8.4-4               The GNOME virtual file-system libr
ii  libgtk2.0-0        2.6.4-3               The GTK+ graphical user interface 
ii  libice6            4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii  liborbit2          1:2.12.2-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.8.1-1               Layout and rendering of internatio
ii  libpopt0           1.7-5                 lib for parsing cmdline parameters
ii  librsvg2-2         2.8.1-3               SAX-based renderer library for SVG
ii  libselinux1        1.22-1                SELinux shared libraries
ii  libsm6             4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii  libwrap0           7.6.dbs-8             Wietse Venema's TCP wrappers libra
ii  libx11-6           4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxext6           4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte
ii  libxi6             4.3.0.dfsg.1-14sarge1 X Window System Input extension li
ii  libxml2            2.6.16-7              GNOME XML library
ii  metacity [x-window 1:2.8.8-1             A lightweight GTK2 based Window Ma
ii  openmotif [x-windo 2.1.30-5              The Open Motif runtime components.
ii  pterm [x-terminal- 0.58-1                PuTTY terminal emulator
ii  rxvt [x-terminal-e 1:2.6.4-6.2           VT102 terminal emulator for the X 
ii  wmaker [x-window-m 0.91.0-7.2            NeXTSTEP-like window manager for X
ii  xbase-clients      4.3.0.dfsg.1-14sarge1 miscellaneous X clients
ii  xlibs              4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  xterm [x-terminal- 4.3.0.dfsg.1-14sarge1 X terminal emulator
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

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

---------------------------------------
Received: (at 337862-done) by bugs.debian.org; 17 Nov 2005 08:45:57 +0000
>From rmurray at cyberhqz.com Thu Nov 17 00:45:57 2005
Return-path: <rmurray at cyberhqz.com>
Received: from h24-80-164-222.sbm.shawcable.net
	([24.80.164.222] helo=straylight.cyberhqz.com ident=postfix)
	by spohr.debian.org with esmtp (Exim 4.50)
	id 1EcfP3-0006PN-9R
	for 337862-done at bugs.debian.org; Thu, 17 Nov 2005 00:45:57 -0800
Received: from localhost (localhost.localdomain [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP id C420B36026;
	Thu, 17 Nov 2005 00:45:56 -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 18124-05; Thu, 17 Nov 2005 00:45:56 -0800 (PST)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
	id 0C18336027; Thu, 17 Nov 2005 00:45:56 -0800 (PST)
Date: Thu, 17 Nov 2005 00:45:55 -0800
From: Ryan Murray <rmurray at debian.org>
To: Peter Karlsson <peterk at debian.org>, 337862-done at bugs.debian.org
Subject: Re: Bug#337862: gdm: Keyboard disabled on first startup
Message-ID: <20051117084555.GH22785 at cyberhqz.com>
References: <20051106225300.BB0FACA7 at perkele>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20051106225300.BB0FACA7 at perkele>
User-Agent: Mutt/1.5.11
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-Level: 
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

On Sun, Nov 06, 2005 at 11:53:00PM +0100, Peter Karlsson wrote:
> At the first startup from power-down, the gdm login window does not accept
> keyboard input. The mouse works. Logging in remotely and doing a
> "/etc/init.d/gdm restart" makes the keyboard work again, and it does not
> fail again until after the next reboot.

I'm betting you've added extra getty processes to your /etc/inittab file, which
since sarge, contains this:
# Note that on most Debian systems tty7 is used by the X Window System,
# so if you want to add more getty's go ahead but skip tty7 if you run X.

What's happening is that gdm has a minimum VT setting of 7, and it actually
manages to determine that the VT is free for it, and is set to start X.
Sometime after this, your init starts a getty on the same tty as X.  You lose
keyboard input.  When you restart gdm, the gettys are all already in place,
so gdm finds a higher vt to run on this time.

Either remove your getty on tty7, or set gdm's minimum vt to the first
available vt.




More information about the Pkg-gnome-maintainers mailing list