Subject: Re: installing/using XDM
To: Todd Gruhn <>
From: Bill Warner <>
List: netbsd-users
Date: 06/04/2002 10:27:35
On Tue, 04 Jun 2002 23:12:01 +0800
"Todd Gruhn" <> wrote:

> About 5yrs ago I tried using xdm. The display -- especially
> the login looked great. But I had a convoluted process to
> install the thing:
> 1) build a .xsession that works

Yes, but this isn't hard.  This one works for me.  Substitute your
favorite window manager in place of icewm...

# run initial programs
xrdb -merge $HOME/.Xresources
xterm -ls &
# start icewm, and run xterm if it crashes (just to be safe)
exec icewm || exec xterm -fg red

> 2) ad a line to /etc/rc.local that tested for the 
>    presence of /usr/X11R6/bin/xdm; if it exists, then run it

Just add "xdm=YES" to /etc/rc.conf.

That's all I do.  Works like a charm.