Xdmphoto is a "user photo aware" clone of xdm. It offers essentially the same advanced functionalities as kdm and gdm, but only requires the standard X11 libraries and the Xpm library. In combination with xdmopt, xdmphoto allows you to select the window manager, color depth, halt and reboot, mouse config, etc. at the xdm login.