README for XFree86 on NetBSD : Running X : Starting Xdm, the display manager
Previous: Running X
Next: Kernel Support for X

6.1. Starting Xdm, the display manager

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.


README for XFree86 on NetBSD : Running X : Starting Xdm, the display manager
Previous: Running X
Next: Kernel Support for X