In NoMachine session from Mac to Linux keypad keys don’t work correctly

Forum / NoMachine for Mac / In NoMachine session from Mac to Linux keypad keys don’t work correctly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #45376
    scrimpy
    Participant

    Hi, I have done a bunch of searches but can’t seem to find how to properly configure my keyboard when it’s connected to a Linux machine. My setup is as follows

    NoMachine 8.8.1 on my Mac running Ventura

    NoMachine 8.8.1 on my Ubuntu server 22.04

    Mac aluminium wired full keyboard with keypad on right

    When I use iTerm to ssh from my Mac to the Linux box the keypad works fine.  Pressing 1,2,3 on keypad works as expected. I also used ssh -Y to the machine and ran my terminal program ( sakura ) and they keys work fine in that session.

    When I connect via NoMachine and open a terminal via Sakura the keypad keys don’t work correctly.

    Using xev from the NoMachine session I can see that key pad key 1 sends code 87 and 2 sends 88 so its seeing they keys being pressed.

    running setxkbmap -print from NoMachine I get

    xkb_keymap {

    xkb_keycodes  { include “evdev”};

    xkb_types     { include “complete”};

    xkb_geometry  { include “pc(pc105)”};

    };

    from my native ssh session I get

    xkb_keymap {

    xkb_keycodes  { include “empty+aliases(qwerty)”};

    xkb_types     { include “complete”};

    xkb_compat    { include “complete”};

    xkb_symbols   { include “empty(basic)”};

    xkb_geometry  { include “pc(pc104)”};

    };

    I tried “setxkbmap -model pc105 -layout us” this didn’t fix the problem.

    How do I get the keypad working with NoMachine ?

    Thanks….

     

    #45506
    fra81
    Moderator

    Hi,

    it looks like the NumLock is off on the Ubuntu server’s keyboard, and the keypad on the Mac works as expected in this regard. You should be able to turn it on remotely by pressing the “Clear” key on the keypad of the Mac.

    #45508
    scrimpy
    Participant

    Awesome. You got it ! Works perfectly.  Thank you so much.

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

This topic was marked as solved, you can't post.