[comp.sys.hp] XDM/XDMCP on HP-UX

se@ikp.uni-koeln.de (Stefan Esser) (11/13/90)

Hi,

I had trouble with xdm (MIT X11R4, pl. 18) not offering XDMCP service 
to my X-Terminals. There is one line in 'dm.c' thats responsible for 
this problem and for xdm sometimes going into a endless loop.

The problem is line 124 of 'mit/clients/xdm/dm.h':

wrong:
======
! #ifdef SYSV
  	WaitForChild ();
  #else
  	WaitForSomething ();
  #endif

better:
=======
! #if defined (SYSV) && !defined (hpux)
  	WaitForChild ();
  #else
  	WaitForSomething ();
  #endif

The original version offers XDMCP only if SYSV is NOT defined. 
(HPUX is BSD based, but X11 has to be compiled with SYSV defined.)

I've checked this on HP 9000/835, HP-UX 7.0, X11R4 pl.18., don't know 
wether it really works on all HP-UX systems.

Stefan



--
 Stefan Esser, Institute of Nuclear Physics, University of Cologne, W. Germany
 se@ikp.Uni-Koeln.DE                                            [134.95.192.9]