You are not logged in.

#1 2010-02-26 09:02:25

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,398

freenx + nxclient and keyboard mapping problem.

Hi all, i've a problem with keyboard mappings when i connect to a remote server using nxclient.
client arrow keys  doesn't works, but they're not alone.
i readed that the problem could be solved by issuing (remotely on the server):

# setxkbmap -model evdev -layout it (or whatever)

but that just fails giving me:
- Error loading new keyboard description
(note that the same command works locally on both peers)

Has anyone addressed this somehow?

nxclient: 3.4.0.5-2
nxserver:  3.4.0-2

thanks.

Last edited by kokoko3k (2010-06-10 15:06:43)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#2 2010-02-26 17:12:16

Sin.citadel
Member
Registered: 2008-01-22
Posts: 267

Re: freenx + nxclient and keyboard mapping problem.

if the command needs to be run locally, add it to /etc/rc.local and then try.

Offline

#3 2010-02-27 11:02:44

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,398

Re: freenx + nxclient and keyboard mapping problem.

remotely on the server


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2010-06-10 14:45:40

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,398

Re: freenx + nxclient and keyboard mapping problem.

Bump...

Problem persists with nxclient 3.4.0.7-1 and freenx  0.7.3-6 (nxserver 3.4.0-3)

I've just made two fresh vanilla archlinux installs and i've been able to reproduce the issue.
As a partial workaround, i made a script which uses xmodmap to map some keycodes to the right places, i have to run it (on the remote app) every time i log in to nxserver:

xmodmap -e "keycode 98=Up"
xmodmap -e "keycode 104=Down"
xmodmap -e "keycode 100=Left"
xmodmap -e "keycode 102=Right"
xmodmap -e "keycode 99=Page_Up"
xmodmap -e "keycode 105=Page_Down"
xmodmap -e "keycode 106=Insert"
xmodmap -e "keycode 97=Home"
xmodmap -e "keycode 103=End"
xmodmap -e "keycode 107=Delete"

xmodmap -e "keycode 109=Control_R"
xmodmap -e "keycode 113=Alt_R"

...,but i still miss alt-gr and ctrl modifiers and probably other things are still broken.

Does anyone experienced the same thing or has some advice to make modifiers key working via xmodmap?

By the moment that the problem seems not to affect other distros, I would like to have some feedback on this before opening a bug report explicitely related to arch-linux.

Last edited by kokoko3k (2010-06-10 14:46:49)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#5 2010-09-01 17:13:26

tarpman
Member
From: Victoria, BC, Canada
Registered: 2010-02-11
Posts: 2

Re: freenx + nxclient and keyboard mapping problem.

I'm experiencing the same issue under Ubuntu 10.04 and searching for a solution.  If you found one since you made this post I'd be quite interested.


Saving the world, one kilobyte at a time.

Offline

Board footer

Powered by FluxBB