Red Hat Bugzilla – Bug 150646
switching keyboard layout to English is not available
Last modified: 2007-11-30 17:07:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040616
Description of problem:
Is system is installed with Russian system language Setup Agent starts with Russian keyboard layout and does not allow switch to English.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install RHEL 4 with Russian assystem language
2. Reboot into runlevel 5
3. Try to create user account with name in English
Actual Results: Keyboard layout can be switched between Russian and English
Expected Results: Keyboard layout cannot be switched from Russian to English
using nor Shift+Shift or Ctrl_Shift or Alt+Shift
Look like it is a rhpl issue. Reassigning.
Hmm, can you attach /etc/sysconfig/i18n and /etc/sysconfig/keyboard. Does the
toggle work in X after firstboot?
After first boot switching in X works normally.
I reinstall RHEL 4 for two boxes and inside of VMWare.
For now I cannot reproduce the probles. I will tomorrow reinstall the mashine
where I have got the problem and will attach necessary files if problem occures
Sorry for long delay.
I investigate the problem and found a way how to reproduce the bug:
- Install RHEL4 ES on clean HDD in Russian locale
- Boot into system using default options:
- rhgb enabled
- default runlevel 5
- Try to switch from RU keyboard layout to US in Setup Agent,
i.e. in user creation dialog.
After first reboot rhgb starts, the boot text is displayed on graphic screen.
Setup Agent (firstboot) starts and try to reuse X server from rhgb.
Please look into attached log file from X server. You can find messages from XKB
extention and "ps ax" shown 5-10 frozen setxkbmap processes.
If rhgb is turned off via grub.conf or system booted into runlevel 3 and after
switched to runlevel 5 - the bug does not appears.
Created attachment 114001 [details]
output of "ps ax"
You can see frozzen processes setxkbmap when firstboot is running. This data
was taken via ssh connection to test box.
Created attachment 114002 [details]
Log file from X server started by rhgb. This X server will be reused by
firstboot later. You can see some error messages from XKB extension.
Created attachment 114003 [details]
Created attachment 114004 [details]
Created attachment 114005 [details]
This file contains correct description of keyboard layouts "us,ru", so keyboard
switching works well in standard X enviroment after Setup Agent finished and
GDM allows enter user name.
During testing of FC4-test3 this problem was reproduced.
If required I can attach necessary log and config files.
The dead setxkb processes are suspicious, but totally unrelated. This has been
fixed in Rawhide and will be in the next version of RHEL. If you require a fix
in an update of RHEL4, please go through Issue Tracker.