On Wed, Nov 02, 2011 at 08:42:15AM -0400, Brad wrote: > On 02/11/11 8:31 AM, Kenneth R Westerback wrote: > >On Tue, Nov 01, 2011 at 04:39:29PM +0000, Stuart Henderson wrote: > >>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 > >> > > > >I haven't encountered the problem, but if xdm just failed I would be > >somewhat surprised. Is there a useful message logged somewhere that would > >indicate why xdm isn't starting? If there were such a message I think > >this is a good idea. > > > >.... Ken > > Try rereading what Stuart said.
OK, I've re-read it. Still says the same thing. Keyboard non-functional. I just tried to point out that the suggested solution might be improved by ensuring an explanatory message is emitted or logged somewhere so it would be obvious to me why xdm didn't start. And asked if such a message were already emitted somewhere. .... Ken > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.