[26593] in Athena Bugs
linux 9.4.15: xlogin uses Dvorak
daemon@ATHENA.MIT.EDU (Jacob Morzinski)
Sun Sep 11 20:14:58 2005
Message-Id: <200509120014.j8C0EGw6006626@w20-575-23.mit.edu>
To: bugs@mit.edu
Date: Sun, 11 Sep 2005 20:14:16 -0400
From: Jacob Morzinski <jmorzins@mit.edu>
X-Spam-Score: 1.041
X-Spam-Level: * (1.041)
X-Spam-Flag: NO
cc: jmorzins@mit.edu
Errors-To: bugs-bounces@mit.edu
System name: w20-575-23.mit.edu
Type and version: i686 9.4.15
Display type: Intel Corporation 82915G/GV/910GL Express Chipset Family Graphics Controller (rev 04)
Shell: /bin/athena/bash
Window manager: metacity
What were you trying to do?
Log in
What's wrong:
xlogin is using a Dvorak keyboard mapping for my username
and password.
However, once I log in, the workstation somehow goes back
to using a Qwerty keyboard mapping.
What should have happened:
Qwerty all the time.
Is this a common enough occurrence that the system should
automatically detect and clean up the problem?
Please describe any relevant documentation references:
It turns out that the machine has a file that sets the keyboard:
# ls -l /etc/sysconfig/keyboard
-r--r--r-- 1 root root 36 Sep 7 12:34 /etc/sysconfig/keyboard
# cat /etc/sysconfig/keyboard
KEYBOARDTYPE="pc"
KEYTABLE="dvorak"
Compare the timestamp on the keyboard file to the timestamps
on messages in the /var/log/secure.1 file:
# grep -C2 keyboard /var/log/secure.1
Sep 7 12:34:29 w20-575-23 userhelper[18854]: running
'/usr/sbin/setup 8.13' with root privileges on behalf of 'bwilt'
Sep 7 12:34:33 w20-575-23 userhelper[18855]: pam_timestamp: updated
timestamp file `/var/run/sudo/root/1'
Sep 7 12:34:33 w20-575-23 userhelper[18856]: running
'/usr/share/system-config-keyboard/system-config-keyboard --text'
with root privileges on behalf of 'root'
Sep 7 12:36:18 w20-575-23 userhelper[18872]: running
'/usr/sbin/setup 8.13' with root privileges on behalf of 'bwilt'
Sep 7 12:36:22 w20-575-23 userhelper[18873]: pam_timestamp: updated
timestamp file `/var/run/sudo/root/1'
Setting the file to use KEYTABLE="us" seems to have fixed
the problem.
Jacob Morzinski jmorzins@mit.edu