Arrow keys don’t work

Forums / NoMachine for Linux / Arrow keys don’t work

Tagged: 

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #25338
    Avatargbr
    Participant

    It looks like I’m having this issue https://www.nomachine.com/TR05K02769 between two Ubuntu boxes. One is running 19.10 and the other is running 19.04

    Has anyone seen this, and found a fix?

     

    Gerald

     

    #25347
    AvatarJimH24
    Participant

    Yes, gbr, arrow keys don’t work for me either.

    The fix that you gave seems pretty complicated. I would have to do quite a bit of research to figure out how to apply it.

    It’s a pity that the issue there is marked as “closed”.

    I am running the version installed from nomachine_6.9.2_1_x86_64.tar.gz

    My machine reports itself as
    Linux JimH15 5.3.0-26-generic #28~18.04.1-Ubuntu SMP Wed Dec 18 16:40:14 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

    and I am connecting to reports as
    Linux langtran 4.15.0-74-generic #83~16.04.1-Ubuntu SMP Wed Dec 18 04:55:53 UTC 2019 i686 i686 i686 GNU/Linux

    Also, the End key doesn’t work, so probably Home and similar keys don’t work either.

    And, by the way, how did you find a way to post a new item to the forum? I can’t find it 🙁

    Jim

    #25359
    AvatarBritgirl
    Keymaster

    hi, what DE is it?

    The TR referenced is rather old and concerns version 4, no longer supported. If there is a new bug, we’d need to start a new investigation for the latest NoMachine 6 packages.

    We test with as many environments as possible and AFAIK don’t have problems with arrow keys.

    Can you check that you have # AgentLegacyKeyboard 0 in the node.cfg. ‘0’ is the default setting (although it would be odd that you have it set at ‘1’).

    Enable logs, reproduce and submit them to forum[at]nomachine[dot]com. For safe measure submit both server side and client side logs.

    Instructions are here: https://www.nomachine.com/AR10K00697

    #25360
    Avatargbr
    Participant

    Hi Britgirl,

    I’m runnining XFCE (Xubuntu) on both desktops.

    I do have #AgentLegacyKeyboard 0 in /usr/NX/etc/node.cfg

    I will activate the logs and submit them early next week.

    Thanks,
    Gerald

     

     

    #25371
    AvatarBritgirl
    Keymaster

    Ok, please make sure you reference the title of your topic in the subject of your email 🙂

    #25379
    AvatarJimH24
    Participant

    Gerald, the #AgentLegacyKeyboard 0 that you list still has the “#” key before it, which usually means that it is commented out, and therefore having no effect.

    Would you like to try removing the “#” character in that control file?

    Then make NoMachine on your client exit and start it again, and see if that makes a difference.

    Regards
    Jim

    #25385
    AvatarBritgirl
    Keymaster

    The default is set to ‘0’. If you wanted to change it and set it to ‘1’ (but I doubt it would change anything because this key was inserted to mitigate a problem coming from old packages), then you would need to remove the #.


    @JimH24
    , the logs you sent didn’t show anything strange. Do this instead: from inside the NoMachine session, open a terminal and execute this command:

    xev -event keyboard

    then press the not working keys and copy the output you get in the terminal. Paste it here or submit a screenshot.

    #25389
    Avatargraywolf
    Moderator

    open a terminal and execute this command

     

    Please, would you run also these, both in remote session as well as on client host:

    xkbcomp -xkb $DISPLAY - > xkbcomp.out 2> xkbcomp.err
    xprop -root | grep XKB > xprop.out 2> xprop.err
    setxkbmap -print > setxkbmap.out 2> setxkbmap.err

    and let me look at err, out files?

    #25390
    AvatarJimH24
    Participant

    Thanks, @Britgirl,
    There are probably more keystrokes here than you need — it took me a little while to work out how to click the x to terminate the xev program 🙂 I’m not sure this is all the keys that don’t work, but it might show you what is going on:

     

    Thanks again for looking into this,
    Jim

    #25391
    AvatarJimH24
    Participant

    Thankyou, @graywolf, here are the sizes of the files on disc (from du -h *):
    0 client-setxkbmap.err
    4.0K client-setxkbmap.out
    0 client-xkbcomp.err
    60K client-xkbcomp.out
    0 client-xprop.err
    4.0K client-xprop.out
    4.0K server-setxkbmap.err
    0 server-setxkbmap.out
    4.0K server-xkbcomp.err
    0 server-xkbcomp.out
    0 server-xprop.err
    0 server-xprop.out

    As you can see, the server only produced errors:
    server-setxkbmap.err: XKB extension not present on :11.0

    server-xkbcomp.err: Error: XKB extension not present on :11.0
    Exiting

    Does this mean I should install XKB extension on the server?

    I’ll upload the client files that are larger than zero.

    Jim

    #25401
    Avatargraywolf
    Moderator

    XKEYBOARD extension is required to create a proper keymap. Display :11 is unusual, did you do any custom setup of X server?

    #25416
    AvatarJimH24
    Participant

    Thanks @graywolf, I don’t remember setting up anything special in the X server. I have a lot of experience with Linux shell scripts, programming in perl etc, but not much with system management. I’ll attach a screenshot of the installed items when I search for “xkeyboard extension” on the server.

    The server is a slice of a real computer that we rent from a cloud computing provider.

    When I go to connect with NoMachine, today I need to choose amongst the following “Physical displays” on “Ubuntu X server”: 0, 10, 12-17.

    I have logged in using number 11, closed processes there and logged out. Now I am going through them, and for each one I’ll log in, close processes running there and log out. When I get to the last one I’ll reboot.

    Thanks again for your help,
    Jim

    #25425
    Avatargbr
    Participant

    Hi,

    Sorry for not sending logs, as requested. I got sick, and this is my first day back.

    Do you still want log files from me?

     

    Gerald

    #25426
    AvatarJimH24
    Participant

    @graywolf, the “thing.out” files you asked me to provide were rejected. I’ll change the file extensions and try again.

    #25449
    AvatarBritgirl
    Keymaster

    @gbr

    Do you still want log files from me?

    Yes, submit them so we can check whether the problem is the same one as JimH24’s 🙂

Viewing 15 posts - 1 through 15 (of 16 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.