README for XFree86 3.3.2 on OpenBSD : Installing Xdm, the display manager
Previous: Configuring PEX and XIE extensions
Next: Running X

## 6. Installing Xdm, the display manager

The file `xc/lib/Xdmcp/WrapHelp.c` is not available in France (where the binary distribution is built) so support for XDM-AUTHORIZATION-1 is not included here. You'll have to get WrapHelp.c and rebuild xdm after having set `HasXdmAuth` in `host.def`.

The file is available within the US; for details see ftp.x.org:/pub/R6/xdm-auth/README.

To start the display manager, log in as root on the console and type: ```xdm -nodaemon`''.

You can start xdm automatically on bootup un-commenting the following code in `/etc/rc.local`:

> `

>       if [ -x /usr/X11R6/bin/xdm ]; then
>         echo -n ' xdm'; /usr/X11R6/bin/xdm
>       fi

> `

On the default OpenBSD 2.2 installation, you will also need to create the virtual console device for the X server:

> `

>     cd /dev
>      ./MAKEDEV ttyC5

> `

It's also better to specify explicitly the virtual console to be used by the X server. If you're experimenting keyboards lockup with xdm, in `/usr/X11R6/lib/X11/xdm/Xservers`, replace the line:

> `

>     :0 local /usr/X11R6/bin/X

> `

by:

> `

>     :0 local /usr/X11R6/bin/X vt06

> `

README for XFree86 3.3.2 on OpenBSD : Installing Xdm, the display manager
Previous: Configuring PEX and XIE extensions
Next: Running X