GDM is the GNOME Display Manager, it is the little proggie that runs in the background, runs your X sessions, presents you with a login box and then tells you to piss off because you forgot your password. It does pretty much everything that you would want to use xdm for, but doesn't involve as much crack. It doesn't use any code from xdm, and has a more paranoid and safer design overall. It also includes many features over xdm, the biggest one of which is that it is more user friendly, even if your X setup is failing. The goal is that users should never, ever have to use the command line to customize or troubleshoot gdm. It of course supports xdmcp, and in fact extends xdmcp a little bit in places where I thought xdm was lacking (but is still compatible with xdm's xdmcp).
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.