[Bug 711061] New: Setting language/keyboard/LDAP on command line doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=711061 https://bugzilla.novell.com/show_bug.cgi?id=711061#c0 Summary: Setting language/keyboard/LDAP on command line doesn't work Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: i686 OS/Version: openSUSE 11.4 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: haukeh@pc-kiel.de QAContact: jsrain@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0 Hello, I'm trying to set the keyboard layout, the language and LDAP via command line and yast2 unsuccessfully under openSUSE 11.4. The configuration should be done via a script so no GUI is possible to use. yast2 seems to have the needed functionality, but it doesn't work. With yast2 keyboard set layout=german yast2 language set lang=de_DE the layout and the language should be set to "German", but it remains US English. Manually to "de" edited layout in /etc/X11/xorg.conf.d/90-keytable.conf disappears and gets set back to "us" after reboot. When I run yast2 keyboard summary yast2 language summary it says that "German" is set. But keyboard is still english. If I use the yast2 text gui the language is set properly. LDAP configuration is not working too (text gui doesn't work either). yast2 ldap pam enable server="192.168.1.2" base="dn=nodomain" tls=no mkhomedir=yes yast2 ldap pam enable Debian/Ubuntu systems can authentificate with this LDAP server. Are this bugs? Do workarounds exists or do I make anything wrong? Would be nice, if anybody could help. Reproducible: Always Steps to Reproduce: 1. yast2 keyboard set layout=german 2. yast2 language set lang=de_DE 3. yast2 keyboard summary 4. yast2 language summary 5. Try to write German letters 6. yast2 ldap pam enable server="192.168.1.2" base="dn=nodomain" tls=no mkhomedir=yes 7. yast2 ldap pam enable 8. Try to log in with your LDAP credentials Actual Results: No German letters, no LDAP login Expected Results: German letters, LDAP login possible -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c
zj jia
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c1
Thomas Fehr
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c3
--- Comment #3 from Jiří Suchomel
The problematic part is keyboard, I'll try to reproduce.
OK, X11 keyboard layout is not set when you run YaST in text mode. Try calling the command in xterm of your graphical environment. I assume that the console keyboard layout got changed to German, right? (BTW, it would help to open different bug for that LDAP part) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c4
--- Comment #4 from Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c5
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c6
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c7
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c8
Jiří Suchomel
You need to write the KEYTABLE variable to do this. The mapping is specified in /etc/X11/xdm/Keyboard.map. /etc/X11/xorg.conf.d/90-keytable.conf is generated by /etc/X11/xdm/keytable, which is started by /etc/init.d/xdm init script.
So where should I write the KEYTABLE variable? I guess that not to /etc/X11/xorg.conf.d/90-keytable.conf, which would be rewritten by /etc/init.d/xdm. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c9
Stefan Dirsch
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c10
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c11
--- Comment #11 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c12
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c13
--- Comment #13 from Jiří Suchomel
Great!
Setting 'KEYTABLE="de"' in /etc/sysconfig/keyboard and "rcxdm restart" worked :-)
You do not have to write it value manually. The point is, that your 'yast2 keyboard set layout=german' command should write it, so it is indeed capable of setting the keyboard layout right. You haven't seen it before because xdm restart (or reboot) is needed. AFAIK xdm script always reads the sysconfig value on start, so that should answer your other question. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c14
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c15
--- Comment #15 from Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c16
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c17
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c18
--- Comment #18 from Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c19
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c20
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c21
Jiří Suchomel
PS. The tests I do in a VirtualBox machine. Would it help you, if I export the machine and upload it somewhere for you?
Yes, that may be interesting, I'm also testing it VirtualBox. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c22
--- Comment #22 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c23
Hauke Hhaaa
https://bugzilla.novell.com/show_bug.cgi?id=711061
https://bugzilla.novell.com/show_bug.cgi?id=711061#c24
Jiří Suchomel
Is it possible that the error ocurred, because my first setting "yast2 keyboard set layout=german" was with the old version of yast2?
Actually I think it worked from the first time, but at that time you did not know you need to restart xdm. Later, when you wrote that sysconfig/keyboard was not modified by YaST, this was caused by your manual changes to that file, see comment 22. Finally, this can be closed as invalid (= no bug). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com