Bug#166141: marked as done (gdm: failsafe xterm calls "xterm" not "x-terminal-emulator")

Debian Bug Tracking System owner@bugs.debian.org
Mon, 30 Aug 2004 00:03:16 -0700


Your message dated Sun, 29 Aug 2004 23:53:39 -0700
with message-id <20040830065339.GJ8819@cyberhqz.com>
and subject line Bug#166141: gdm: failsafe xterm calls "xterm" not "x-terminal-emulator"
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; 24 Oct 2002 05:07:37 +0000
>From craig@postnewspapers.com.au Thu Oct 24 00:07:37 2002
Return-path: <craig@postnewspapers.com.au>
Received: from (postnewspapers.com.au) [203.59.227.178] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 184aDY-0006mI-00; Thu, 24 Oct 2002 00:07:36 -0500
Received: from geek [10.0.0.10] by postnewspapers.com.au [10.0.0.2]
	with SMTP (MDaemon.v3.5.8.R)
	for <submit@bugs.debian.org>; Thu, 24 Oct 2002 13:07:12 +0800
Received: from craig by geek with local (Exim 3.35 #1 (Debian))
	id 184aD7-0001Ce-00; Thu, 24 Oct 2002 13:07:09 +0800
From: <craig@postnewspapers.com.au>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: gdm: failsafe xterm calls "xterm" not "x-terminal-emulator"
X-Mailer: reportbug 1.50
Date: Thu, 24 Oct 2002 13:07:09 +0800
Message-Id: <E184aD7-0001Ce-00@geek>
X-MDRemoteIP: 10.0.0.10
X-Return-Path: craig@postnewspapers.com.au
X-MDaemon-Deliver-To: submit@bugs.debian.org
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=0.3 required=5.0
	tests=NO_REAL_NAME,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: gdm
Version: 2.2.5.5-2
Severity: normal

Hi
I just noticed that starting a failsafe session with gdm calls "xterm"
as the terminal emulator not "x-terminal-emulator" (to properly use
alternatives). At the least, it should probably pick up and use rxvt if
xterm is not installed.

I'm not entirely sure its a good idea to use "x-terminal-emulator" since
it might point to, say, gnome-terminal when the user has just
uninstalled gnome and all its libraries :-(

Still, xterm is far from guaranteed to be installed, so perhaps it
should check for the availability of xterm, then rxvt, then fall back on
x-terminal-emulator?

Craig Ringer

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux geek 2.4.19 #1 Mon Oct 7 10:07:10 WST 2002 i686
Locale: LANG=en_AU, LC_CTYPE=en_AU

Versions of packages gdm depends on:
ii  adduser                 3.47             Add and remove users and groups
ii  debconf                 1.0.32           Debian configuration management sy
ii  dpkg                    1.9.21           Package maintenance system for Deb
ii  gdk-imlib1              1.9.14-2         Gdk-Imlib is an imaging library fo
ii  libart2                 1.4.1.4-3        The Gnome canvas widget - runtime 
ii  libaudiofile0           0.2.3-4          The Audiofile Library
ii  libc6                   2.2.5-15         GNU C Library: Shared libraries an
ii  libdb3                  3.2.9-16         Berkeley v3 Database Libraries [ru
ii  libesd0                 0.2.23-3         Enlightened Sound Daemon - Shared 
ii  libgdk-pixbuf2          0.17.0-2         The GdkPixBuf library.
ii  libglade-gnome0         1:0.17-2.2       Library to load .glade files at ru
ii  libglade0               1:0.17-2.2       Library to load .glade files at ru
ii  libglib1.2              1.2.10-4         The GLib library of C routines
ii  libgnome32              1.4.1.4-3        The Gnome libraries
ii  libgnomesupport0        1.4.1.4-3        The Gnome libraries (Support libra
ii  libgnomeui32            1.4.1.4-3        The Gnome libraries (User Interfac
ii  libgtk1.2               1.2.10-11        The GIMP Toolkit set of widgets fo
ii  libjpeg62               6b-5             The Independent JPEG Group's JPEG 
ii  libpam-modules          0.72-35          Pluggable Authentication Modules f
ii  libpam0g                0.72-35          Pluggable Authentication Modules l
ii  libpng2                 1.0.12-3.woody.2 PNG library - runtime
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  libungif4g              4.1.0b1-2        shared library for GIF images (run
ii  libwrap0                7.6-9            Wietse Venema's TCP wrappers libra
ii  libxml1                 1:1.8.17-2       GNOME XML library
ii  scrollkeeper            0.3.6-3.1        A free electronic cataloging syste
ii  xlibs                   4.1.0-16         X Window System client libraries
ii  zlib1g                  1:1.1.4-1        compression library - runtime



---------------------------------------
Received: (at 166141-done) by bugs.debian.org; 30 Aug 2004 06:53:48 +0000
>From rmurray@cyberhqz.com Sun Aug 29 23:53:48 2004
Return-path: <rmurray@cyberhqz.com>
Received: from (straylight.cyberhqz.com) [24.85.92.182] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C1g31-0004gq-00; Sun, 29 Aug 2004 23:53:47 -0700
Received: from localhost (localhost [127.0.0.1])
	by straylight.cyberhqz.com (Postfix) with ESMTP
	id 5703F541FC; Sun, 29 Aug 2004 23:53:47 -0700 (PDT)
Received: from straylight.cyberhqz.com ([127.0.0.1])
	by localhost (straylight [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 18337-02; Sun, 29 Aug 2004 23:53:39 -0700 (PDT)
Received: by straylight.cyberhqz.com (Postfix, from userid 1000)
	id 476AB540A6; Sun, 29 Aug 2004 23:53:39 -0700 (PDT)
Date: Sun, 29 Aug 2004 23:53:39 -0700
From: Ryan Murray <rmurray@debian.org>
To: Craig Ringer <craig@postnewspapers.com.au>,
	166141-done@bugs.debian.org
Subject: Re: Bug#166141: gdm: failsafe xterm calls "xterm" not "x-terminal-emulator"
Message-ID: <20040830065339.GJ8819@cyberhqz.com>
References: <E184aD7-0001Ce-00@geek> <20030825050308.GN17337@cyberhqz.com> <3F4999C5.9050408@postnewspapers.com.au>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="rwgQ89ZNnFUwFHTC"
Content-Disposition: inline
In-Reply-To: <3F4999C5.9050408@postnewspapers.com.au>
User-Agent: Mutt/1.3.28i
Delivered-To: 166141-done@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--rwgQ89ZNnFUwFHTC
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Aug 25, 2003 at 01:08:21PM +0800, Craig Ringer wrote:
> >>I just noticed that starting a failsafe session with gdm calls "xterm"
> >>as the terminal emulator not "x-terminal-emulator" (to properly use
> >>alternatives). At the least, it should probably pick up and use rxvt if
> >>xterm is not installed.
> >
> >That's not as easy as it sounds -- gdm includes a rather hardcoded window
> >manager, and I don't really want to add code for everyone's favourite
> >terminal emulator.  (The code needs to know the class name of the window
> >in advance to be able to give it focus -- it can't if it just calls
> >x-terminal-emulator).
>=20
> Makes sense. Instead, perhaps gdm should depend on 'xterm'. Currently it=
=20
> just fails a failsafe login :-(

GDM's dependencies now include the requirement for one valid session progra=
m,
so that the default session can always function, so I'm closing this bug.

--=20
Ryan Murray, Debian Developer (rmurray@cyberhqz.com, rmurray@debian.org)
The opinions expressed here are my own.

--rwgQ89ZNnFUwFHTC
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQFBMs7yN2Dbz/1mRasRAuyoAKCd2EHHrc3jm/My+myI7fgpnyHeiACeKqGQ
LQZdRPk1jW7z0LrND0vlBxg=
=SJfc
-----END PGP SIGNATURE-----

--rwgQ89ZNnFUwFHTC--