Hi Jack,
As SirDice points out, the xdm log shows a serious error in the file
/usr/local/lib/X11/xdm/Xsetup_0. You must correct this (but see below).
The logs you posted suggest to me that there's been a fair bit of hackery to the standard X11 setup. I can't see what version of FreeBSD you are running, but it seems odd to me that Xsetup_0 is running a bash script (I would expect
/bin/sh).
Mine (which is admittedly old) looks like this, and unless you have a good reason, yours probably should too:
Code:
#!/bin/sh
# $Xorg: Xsetup_0,v 1.3 2000/08/17 19:54:17 cpqbld Exp $
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
Also the diff you sent of
xdm-config shows "DisplayManager*authorize" has been set "false". I would expect this to be "true" on a clean system. The default xdm-comfig is a really good place to start. So unless you know better, you should (as root):
Code:
cp -p /usr/local/lib/X11/xdm/xdm-config /usr/local/lib/X11/xdm/xdm-config.bad
cp /usr/local/share/examples/xdm/xdm-config /usr/local/lib/X11/xdm/xdm-config
While we are here, you should check that rest of the files in
/usr/local/lib/X11/xdm for modifications. Investigate anything you find with this:
Code:
cd /usr/local/share/examples/xdm/
for f in *
do
echo "=== $f"
diff $f /usr/local/lib/X11/xdm/$f
done
Cheers,