[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freenx-knx
Subject:    [FreeNX-kNX] Keyboard mapping problem
From:       Jani Huhtanen <jani.huhtanen () tut ! fi>
Date:       2006-03-15 21:19:51
Message-ID: 200603152319.51802.jani.huhtanen () tut ! fi
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic