Bug#365255: gdm-chooser: non-broadcast operation broken

Johannes Kloos jkloos at unix-ag.uni-kl.de
Fri Apr 28 19:47:35 UTC 2006


Package: gdm
Version: 2.13.0.10-2
Severity: normal
Tags: patch

Hello,
configuring gdm as a server for indirect XDMCP queries and disabling
XDMCP broadcast queries, but with an explicit host list for the chooser,
fails:
The attached configuration file does not show the hosts in the
Hosts list in the chooser, but instead broadcasts for hosts willing to 
serve XDMCP sessions.

This bug has been fixed in version 2.14.3, but can be fixed using the
attached patch as well.

See also gnome bug #338274.
(http://bugzilla.gnome.org/show_bug.cgi?id=338274)

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (400, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gdm depends on:
ii  adduser                  3.87            Add and remove users and groups
ii  aterm [x-terminal-emulat 1.0.0-2         Afterstep XVT - a VT102 emulator f
ii  debconf [debconf-2.0]    1.5.0           Debian configuration management sy
ii  enlightenment [x-window- 1:0.16.7.2-3    The Enlightenment Window Manager
ii  eterm [x-terminal-emulat 0.9.3-1         Enlightened Terminal Emulator
ii  evilwm [x-window-manager 0.99.21-1       a minimalist window manager for X1
ii  fluxbox [x-window-manage 0.9.14-1.1      Highly configurable and low resour
ii  fvwm [x-window-manager]  1:2.5.16-2      F(?) Virtual Window Manager, versi
ii  gksu                     1.3.7-1         graphical frontend to su
ii  gnome-session            2.14.0-2        The GNOME 2 Session Manager
ii  gnome-terminal [x-termin 2.14.1-1        The GNOME 2 terminal emulator appl
ii  icewm [x-window-manager] 1.2.25-1        wonderful Win95-OS/2-Motif-like wi
ii  icewm-gnome [x-window-ma 1.2.25-1        wonderful Win95-OS/2-Motif-like wi
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libatk1.0-0              1.11.4-1        The ATK accessibility toolkit
ii  libattr1                 2.4.32-1        Extended attribute shared library
ii  libc6                    2.3.6-7         GNU C Library: Shared libraries
ii  libcairo2                1.0.4-2         The Cairo 2D vector graphics libra
ii  libdmx1                  1:1.0.1-3       X11 Distributed Multihead extensio
ii  libfontconfig1           2.3.2-5.1       generic font configuration library
ii  libglade2-0              1:2.5.1-2       library to load .glade files at ru
ii  libglib2.0-0             2.10.2-1        The GLib library of C routines
ii  libgnomecanvas2-0        2.14.0-2        A powerful object-oriented display
ii  libgtk2.0-0              2.8.17-1        The GTK+ graphical user interface 
ii  libpam-modules           0.79-3.1        Pluggable Authentication Modules f
ii  libpam-runtime           0.79-3.1        Runtime support for the PAM librar
ii  libpam0g                 0.79-3.1        Pluggable Authentication Modules l
ii  libpango1.0-0            1.12.1-2        Layout and rendering of internatio
ii  libpopt0                 1.7-5           lib for parsing cmdline parameters
ii  librsvg2-2               2.14.3-2        SAX-based renderer library for SVG
ii  librsvg2-common          2.14.3-2        SAX-based renderer library for SVG
ii  libselinux1              1.30-1          SELinux shared libraries
ii  libwrap0                 7.6.dbs-9       Wietse Venema's TCP wrappers libra
ii  libx11-6                 2:1.0.0-6       X11 client-side library
ii  libxau6                  1:1.0.0-3       X11 authorisation library
ii  libxcursor1              1.1.5.2-5       X cursor management library
ii  libxdmcp6                1:1.0.0-4       X11 Display Manager Control Protoc
ii  libxext6                 1:1.0.0-4       X11 miscellaneous extension librar
ii  libxi6                   1:1.0.0-5       X11 Input extension library
ii  libxinerama1             1:1.0.1-4       X11 Xinerama extension library
ii  libxml2                  2.6.23.dfsg.2-3 GNOME XML library
ii  libxrandr2               2:1.1.0.2-4     X11 RandR extension library
ii  libxrender1              1:0.9.0.2-4     X Rendering Extension client libra
ii  lsb-base                 3.1-4           Linux Standard Base 3.1 init scrip
ii  mlterm [x-terminal-emula 2.9.2-7         MultiLingual TERMinal
ii  rxvt [x-terminal-emulato 1:2.6.4-10      VT102 terminal emulator for the X 
ii  rxvt-ml [x-terminal-emul 1:2.6.4-10      multi-lingual VT102 terminal emula
ii  rxvt-unicode [x-terminal 7.7-3           RXVT-like terminal emulator with U
ii  twm [x-window-manager]   1:1.0.1-3       Tab window manager
ii  wmaker [x-window-manager 0.92.0-5.3      NeXTSTEP-like window manager for X
ii  xbase-clients            1:7.0.0-5       miscellaneous X clients
ii  xterm [x-terminal-emulat 210-3           X terminal emulator
ii  zlib1g                   1:1.2.3-11      compression library - runtime

Versions of packages gdm recommends:
ii  dialog                    1.0-20060221-1 Displays user-friendly dialog boxe
pn  gdm-themes                <none>         (no description available)
ii  whiptail                  0.52.2-4       Displays user-friendly dialog boxe
ii  zenity                    2.14.1-1       Display graphical dialog boxes fro

-- debconf information:
  gdm/daemon_name: /usr/bin/gdm
* shared/default-x-display-manager: gdm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdm-chooser-hostlist-and-no-broadcast.diff
Type: text/x-c
Size: 478 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20060428/1475fa1f/gdm-chooser-hostlist-and-no-broadcast-0001.bin
-------------- next part --------------
[daemon]
AutomaticLoginEnable=false
AutomaticLogin=
TimedLoginEnable=false
TimedLogin=
TimedLoginDelay=30
Greeter=/usr/lib/gdm/gdmlogin
RemoteGreeter=/usr/lib/gdm/gdmlogin
DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
RootPath=/usr/local/bin:/usr/local/sbin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/games
User=gdm
Group=gdm
LogDir=/var/log/gdm
PidFile=/var/run/gdm.pid
PostLoginScriptDir=/etc/gdm/PostLogin/
PreSessionScriptDir=/etc/gdm/PreSession/
PostSessionScriptDir=/etc/gdm/PostSession/
DisplayInitDir=/etc/gdm/Init
XKeepsCrashing=/etc/gdm/XKeepsCrashing
RebootCommand=/sbin/shutdown -r now \"Rebooted from gdm menu.\"
HaltCommand=/sbin/shutdown -h now \"Shut Down from gdm menu.\"
SuspendCommand=/usr/bin/apm --suspend
ServAuthDir=/var/lib/gdm
BaseXsession=/etc/gdm/Xsession
SessionDesktopDir=/etc/X11/sessions/:/etc/dm/Sessions/:/usr/share/gdm/BuiltInSessions/:/usr/share/xsessions/
DefaultSession=default.desktop
UserAuthDir=
UserAuthFBDir=/tmp
UserAuthFile=.Xauthority
StandardXServer=/usr/X11R6/bin/X
Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest
FirstVT=7
VTAllocation=true

[security]
AllowRoot=false
AllowRemoteRoot=false
AllowRemoteAutoLogin=false
RelaxPermissions=0
CheckDirOwner=true
DisallowTCP=false
[xdmcp]
# We enable xdmcp ...
Enable=true
# ... and indirect queries.
HonorIndirect=true

[gui]

[greeter]
Browser=false
MinimalUID=1000
Exclude=nobody
IncludeAll=true
LocaleFile=/etc/gdm/locale.conf
Logo=/usr/share/pixmaps/yes.xpm
SystemMenu=false
SecureSystemMenu=true
DefaultWelcome=true
DefaultRemoteWelcome=true
GraphicalThemes=circles/:happygnome/:ayo/:bijou/:crystal/:debblue/:glassfoot/:hantzley/:industrial/:debian
GraphicalThemeDir=/usr/share/gdm/themes/
GraphicalThemeRand=true
SoundOnLogin=false

[chooser]
HostImageDir=/usr/share/hosts/
# We want our users to be able to login to the following hosts (anonymized)
Hosts=loginhost1.unix-ag.uni-kl.de,loginhost2.unix-ag.uni-kl.de
# On the other hand, we don't want to broadcast for XDMCP servers
Broadcast=false
# And multicast is out of the question as well
Multicast=false
AllowAdd=true

[debug]
Enable=true

[servers]
# We are on a headless system, thus we don't want a local X server
0=inactive

[server-Standard]
name=Standard server
command=/usr/X11R6/bin/X -dpi 96 -audit 0 
flexible=true
chooser=true
handled=true
priority=0

[server-Terminal]
name=Terminal server
command=/usr/X11R6/bin/X -audit 0 -terminate
flexible=false
handled=false
chooser=false
priority=0

[server-Chooser]
name=Chooser server
command=/usr/X11R6/bin/X -audit 0
flexible=false
chooser=true


More information about the Pkg-gnome-maintainers mailing list