From freenx-knx Wed Mar 15 21:19:51 2006 From: Jani Huhtanen Date: Wed, 15 Mar 2006 21:19:51 +0000 To: freenx-knx Subject: [FreeNX-kNX] Keyboard mapping problem Message-Id: <200603152319.51802.jani.huhtanen () tut ! fi> X-MARC-Message: https://marc.info/?l=freenx-knx&m=114245766609832 Hi! After the upgrade from xorg6 to xorg7, keyboard mappings didn't work anymore under NX session (i.e. I was stuck to pc101 and us). I came up with a temporary solution, but first here is some information: - NX Server 1.5.0 - FreeNX 0.4.5 - X Window System Version 7.0.0 If I do locally: # xprop -root | grep XKB _XKB_RULES_NAMES(STRING) = "xorg", "logicdp", "us,fi", ",basic", "" or under NX session: # xprop -root | grep XKB (i.e. no matches for XKB) If I try to change the layout with setxkbmap I get locally: #setxkbmap -model pc105 -layout fi -rules xorg #xprop -root | grep XKB _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "fi", "", "" (i.e. the change took place) and under NX session: #setxkbmap -model pc105 -layout fi -rules xorg Couldn't interpret _XKB_RULES_NAMES property Use defaults: rules - 'xorg' model - 'pc101' layout - 'us' *** glibc detected *** double free or corruption (out): 0x4000afa0 *** Aborted #xprop -root | grep XKB (i.e. nothing changed and setxkbmap strangely crashed) The only "solution" to this problem so far has been to manually insert _XKB_RULES_NAMES property. I do this under NX session: #xprop -root -f _XKB_RULES_NAMES 8s -set _XKB_RULES_NAMES xorg #setxkbmap -model pc105 -layout fi Now layout is correctly set #xprop -root | grep XKB _XKB_RULES_NAMES(STRING) = "xorg", "pc105", "fi", "", "" But the question is: What causes this problem and how to fix it? I hope you guys can help me out here. Thanks in advance. -- Jani Huhtanen TTY Porin yksikkö jani.huhtanen@tut.fi _______________________________________________ FreeNX-kNX mailing list FreeNX-kNX@kde.org https://mail.kde.org/mailman/listinfo/freenx-knx