Can you do "dpkg -l xorg"? There was a keyboard-settings related problem in X.org 6x which got resolved in X.org 7x. It could crash X, and generally showed the symptoms you're describing. Regards //Johan