[Crossposted because this is essentially a Linux question]
Hello. I'm running Linux on a Dell 486/L - 486DX2/66, S3 card, 8MB RAM,
Linux 0.99pl15 + quota + acct, XFree86 2.0 system, and I've been having
some problems with xdm. I've been trying to get my copy of xdm to display
a local chooser which will allow me to connect to localhost and a number
of foreign hosts via. xdmcp - basically, I want a chooser with 'localhost',
and some other hosts on it on the current display.
All the hosts I want are xdmcp-query and -indirectable by my X server
(eg. X -indirect bootes.cus or X -query bootes.cus will work and give the
expected result).
The trouble is that xdm won't do it. I'm using a copy of xdm from
sunsite.unc.edu:/pub/Linux/X11/xutils/xdm.taz (sorry, I couldn't find
a patch name or number on it !). Running a diff against the clean xdm
sources from ftp.x.org:/[something]/R5untarred/mit/clients/xdm reveals
no significant changes to the xdmcp code - only to the login verification
code and some of the startup code.
As far as possible,I've copied the configuration from the machines here,
which do exactly what I want already, but it doesn't seem to work - starting
the X server with 'X -indirect localhost' produces a chooser menu, and
selecting 'localhost' works as it should. Selecting anything else leads to
a blank screen for a while (whilst xdm times out) - with only the standard
gray backing pixmap and the 'X' cursor - and then the chooser menu pops up
again.
I'd be grateful if someone could possibly tell me what's going wrong
here, or if someone who has a system like this working could tar, gzip,
uuencode and email me the contents of their /usr/lib/X11/xdm directory,
and possibly also a copy of their 'xdm'.
The same behaviour occurs with XFree86-2.0's supplied xdm.
My configuration files are appended below. Replies by email are
preferred.
Thanks in advance,
Richard.
---------------- configuration files -------------
[ these are all in /usr/lib/X11/xdm == /usr/X386/lib/X11/xdm ]
Xaccess begins {
*
%local localhost
%hostlist apus.cus.cam.ac.uk bootes.cus.cam.ac.uk grus.cus.cam.ac.uk, ursa.cus.cam.ac.uk
* CHOOSER %local %hostlist
Xresources begins {Quote:} Xaccess ends.
xlogin*login.translations: #override\
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*borderWidth: 3
xlogin*greeting: Welcome to CLIENTHOST - XFree86 2.0 (X11R5)
xlogin*namePrompt: Please login:\
xlogin*fail: Login incorrect
#ifdef COLOR
xlogin*greetColor: Blue
xlogin*failColor: red
*Foreground: black
*Background: #fffff0
#else
xlogin*Foreground: black
xlogin*Background: white
#endif
XConsole.text.geometry: 480x130
XConsole.verbose: true
XConsole*iconic: true
XConsole*font: fixed
Chooser*geometry: 700x500+300+200
Chooser*allowShellResize: false
Chooser*viewport.forceBars: true
Chooser*font: 9x15bold
Chooser*label.font: *-new century schoolbook-bold-i-normal-*-240-*
Chooser*label.label: XDMCP Host Menu from CLIENTHOST
Chooser*list.font: -*-*-medium-r-normal-*-*-230-*-*-c-*-iso8859-1
Chooser*Command.font: *-new century schoolbook-bold-r-normal-*-180-*
Xservers is of 0 lengthQuote:} Xresources ends.
Xsession is irrelevant, AFAIK - mail me and ask for it if you want -
it's big.
Xsetup begins {
#!/bin/bash
/usr/bin/X11/xload -geometry 480x130+0-0 -fg "dark green" -bg white &
echo $! >/tmp/xdm-xload-pid
# Wibble wibble.
# /usr/bin/X11/xmodmap /usr/lib/X11/Xmodmap.uk
xdm-config begins {Quote:} Xsetup ends
DisplayManager*chooser: /usr/X386/lib/X11/xdm/chooser
DisplayManager*errorLogFile: /usr/X386/lib/X11/xdm/xdm-errors
DisplayManager*pidFile: /usr/X386/lib/X11/xdm/xdm-pid
DisplayManager*keyFile: /usr/X386/lib/X11/xdm/xdm-keys
DisplayManager*servers: /usr/X386/lib/X11/xdm/Xservers
DisplayManager*accessFile: /usr/X386/lib/X11/xdm/Xaccess
DisplayManager*authorize: true
DisplayManager.removeDomainname: false
DisplayManager*terminateServer: TRUE
DisplayManager*authDir: /usr/X386/lib/X11/xdm
!DisplayManager._0.authFile: /usr/adm/xdm-auth._0
!DisplayManager._0.setup: /usr/X386/lib/X11/xdm/Xsetup_0
!DisplayManager._0.startup: /usr/X386/lib/X11/xdm/GiveConsole
DisplayManager._0.reset: /usr/X386/lib/X11/xdm/TakeConsole
DisplayManager*resources: /usr/X386/lib/X11/xdm/Xresources
DisplayManager*session: /usr/X386/lib/X11/xdm/Xsession
DisplayManager*startup: /usr/X386/lib/X11/xdm/Xstartup
DisplayManager*setup: /usr/X386/lib/X11/xdm/Xsetup
DisplayManager*authComplain: false
------------------ end config files ---------------Quote:} xdm-config ends.