[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#187148: only one xdmcp connection



On Tue, Apr 01, 2003 at 02:59:57PM +0200, Hadmut Danisch wrote:
> Package: xdm
> Version: 4.2.1-6
> 
> after doing the lastest sid upgrade, my xdm doesn't work
> properly anymore. I have an Xserver with option -indirect to 
> the host itself, where xdm provides a chooser, presenting the
> host itself and all other machines willing to serve. That worked
> well for several years. Now, the chooser still appears, but the
> login service is unavailable.
> 
> Debugging showed that the xdm is (in contrast to older versions)
> willing to answer only one xdmcp request and then shuts down 
> the xdmcp socket (i.e. binds the socket to the Xserver, so it
> doesn't accept other packets anymore). Since this first available
> request is already taken by the chooser query, all subsequent 
> queries are dropped. 
> 
> Even when starting a new xdm without the Xserver, it answers only
> exactly one xdmcp request from other hosts.

The following upstream changes from XFree86 CVS HEAD were incorporated
into the 4.2.1-6 release:

  * patch #000_stolen_from_HEAD_xdm: new;
    (xc/programs/xdm/{Imakefile,access.c.auth.c,dm.c,policy.c,resource.c,
    sessreg.c.,xdmcp.c}):
    + xdm fixes from Sebastian Krahmer (#5511):
      - non exploitable overflow in ReadWord,
      - use snprintf() everywhere,
      - try to make DNS spoofing impossible.
    (xc/programs/xdm/Imakefile): Don't build xdm greeter as a module when
      HasSharedLibraries is NO.  (David Dawes)
    (xc/programs/xdm/daemon.c): libc5 build fix (Marc La France)
    (xc/programs/xdm/{error.c,greeter/{Login.c,greet.c}}):
      + dont't use stdio or exit() in signal handler. (Matthieu Herrb)
      + On OpenBSD passwords can be more than 8 chars long (Terence M. Rokop).
      + Warning fixes (Marc La France)
    (xc/programs/xdm/resource.c):
      + Remove OS/2 specific stuff and fix a typo (Holger Veit)
      + define DEF_RANDOM_FILE as "/dev/urandom" if the "linux" symbol is
        defined (Egbert Eich)
    (xc/programs/xdm/config/Imakefile):
      + Fix 'su' usage for FreeBSD in the default xdm config (Eric Anholt).
      + Warning fix (Matthieu Herrb)
    (xc/programs/xdm/greeter/verify.c):
      + libkafs is in not needed for kerberos IV support (Matthieu Herrb)
      + explicit cast of NULL to void * in va_list (Matthieu Herrb).
      + Make xdm check the full password string (on Linux) for locked
        accounts rather than just the first character (#5485, Mike Harris,
        Nalin Dahyabhai).

Do you think any of the above might have caused the behavior you're seeing?

Can you still reproduce this problem with the xdm 4.2.1-11 package?

-- 
G. Branden Robinson                |      The greatest productive force is
Debian GNU/Linux                   |      human selfishness.
branden@debian.org                 |      -- Robert Heinlein
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: