If you hit the xkb file/directory problem (for example, if you follow the "upgrading without install kernel" instructions), you can't type at the keyboard, even to switch to a text console.
What does anyone think about disabling xdm if this brokenness is found? Index: xdm =================================================================== RCS file: /cvs/src/etc/rc.d/xdm,v retrieving revision 1.1 diff -u -p -r1.1 xdm --- xdm 7 Jul 2011 18:42:17 -0000 1.1 +++ xdm 1 Nov 2011 16:35:39 -0000 @@ -6,4 +6,10 @@ daemon="/usr/X11R6/bin/xdm" . /etc/rc.d/rc.subr +rc_pre() { + # XXX Mitigate xkb mistake in 5.0, better not to run xdm than + # leave a broken keyboard + [ -d /usr/X11R6/share/X11/xkb/symbols/srvr_ctrl ] && return 1 +} + rc_cmd $1