Keyboard layout wrong for client Windows 7 and server OpenSUSE 42.1

Forum / NoMachine for Windows / Keyboard layout wrong for client Windows 7 and server OpenSUSE 42.1

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #12935
    roell.f
    Participant

    Dear forum,

    I freshly setup:

    a) a linux pc with

    • os: OpenSUSE 42.1
    • language: German
    • keyboard layout: DE
    • variant: nodeadkeys
    • model: pc105
    • nx app: nomachine_5.1.54_1_x86_64.rpm
    • role: nx-server

    b) a ms Windows PC with

    • os: Windows 7 ultimate 64-bit
    • language: German
    • keyboard layout: DE
    • variant: nodeadkeys
    • model: pc105
    • nx app: nomachine_5.1.54_1.exe
    • role: nx-client

    both hosts are working fine (i.e. with active keyboard mapping = german) when operated locally.

    after connecting the client to the display manager of server i found the active keyboard mapping to be “us english”. next I proceeded to log in. the keyboard mapping is still “us english”.

    I executed:

    setxkbmap -print -verbose 10

    result (a):

    Setting verbose level to 10
    locale is C
    Trying to load rules file ./rules/evdev…
    Trying to load rules file /usr/share/X11/xkb/rules/evdev…
    Success.
    Applied rules from evdev:
    rules:      evdev
    model:      pc105
    layout:     de
    variant:    nodeadkeys
    options:    terminate:ctrl_alt_bksp
    Trying to build keymap using the following components:
    keycodes:   evdev+aliases(qwertz)
    types:      complete
    compat:     complete
    symbols:    pc+de(nodeadkeys)+inet(evdev)+terminate(ctrl_alt_bksp)+
    terminate(ctrl_alt_bksp)
    geometry:   pc(pc105)
    xkb_keymap {
    xkb_keycodes  { include “evdev+aliases(qwertz)” };
    xkb_types     { include “complete”      };
    xkb_compat    { include “complete”      };
    xkb_symbols   { include “pc+de(nodeadkeys)+inet(evdev)+
    terminate(ctrl_alt_bksp)+
    terminate(ctrl_alt_bksp)”       };
    xkb_geometry  { include “pc(pc105)”     };
    };

    I executed:

    setxkbmap -layout de -variant nodeadkeys
    # and again
    setxkbmap -print -verbose 10

    result (b):

    same as result (a), see above.

    but now the active keyboard layout is “german”, i.e. keyboard input is
    processed correctly.

    to add “setxkbmap -layout de” to bashrc is not a solution, because the
    first login on the display manager isn’t affected.

    so i tried to change the file

    %Program Files%\NX Client for Windows\share\keyboards

    as described in https://www.nomachine.com/AR01F00500 according to

    diff keyboards keyboards,original

    31,32c31,32
    < de_DE,0x0407,German (Germany)
    < de_DE,0xf012,German (IBM)

    > de,0x0407,German (Germany)
    > de,0xf012,German (IBM)

    after rebooting the nx-server and restarting th nx-client-app the problem still exists.

    what can I do?

    best regards

    frank

    #12949
    graywolf
    Participant

    Please change /usr/NX/etc/node.cfg to have SessionLogClean 0.

    Then replicate the problem and issue setxkbmap -print again.

    Check also output from commands:

    echo $DISPLAY

    xprop -root | grep XKB

    Send content of /usr/NX/var/log to us (you can mail to forum (at) nomachine (dot) com).

Viewing 2 posts - 1 through 2 (of 2 total)

Closed because the user did not provide further feedback. Please notify us if you confirm that it is resolved or open a new topic if you have the same problem.