To start the display manager, log in as root on the console and type:
``xdm -nodaemon
''.
You can start xdm automatically on bootup by disabling the console getty
and adding the following code to /etc/rc.local
:
if [ -x /usr/X11R6/bin/xdm ]; then
echo -n ' xdm'; /usr/X11R6/bin/xdm
fi
To disable the console getty, change ``on'' to ``off'' in
the console entry in /etc/ttys
:
ttyv0 "/usr/libexec/getty Pc" pc off secure
Note that the binary distributions of XFree86 for NetBSD don't include support for the XDM-AUTHORIZATION-1 protocol.