Problem with space key from Windows to a Linux

Forum / NoMachine for Linux / Problem with space key from Windows to a Linux

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #49288
    Roukmoute
    Participant

    Hello,

    I’m having a strange problem using NoMachine to connect to a physical Debian 12 on GNOME machine from a Windows 11 computer. The space character is often ignored when I type on my keyboard. I have to retype it several times for it to be taken into account.

    Here are the tests I carried out to try and identify the problem:

    Connecting to a Linux virtual machine: When I connect to a Linux virtual machine via NoMachine from the same Windows computer, I have no problem recognising spaces. Everything works normally.

    Using a physical keyboard directly on the Linux machine: By connecting a physical keyboard directly to the Linux machine, the space is recognised correctly, which eliminates a hardware or configuration problem on the Linux machine itself.

    These tests lead me to believe that the problem could be due to a specific interaction between NoMachine and the physical Linux machine.

    Do you have any suggestions for diagnostic steps I could take or configurations I could check to resolve this issue?

    Thank you in advance for your help.

    #49302
    Britgirl
    Keymaster

    Hi,

    inside the session, from the Windows client to the Linux server, can you open the xev tool and check what is actually being printed when you press the spacebar on the Windows machine? Is the spacebar the only key which doesn’t work?

     

    #49306
    Roukmoute
    Participant

    our,

    I ran a test by typing ‘this is my test’, but the result was ‘this ismy test’. Here is the corresponding log:

    Outer window is 0x3200001, inner window is 0x3200002

    PropertyNotify event, serial 8, synthetic NO, window 0x3200001,
    atom 0x27 (WM_NAME), time 3612657, state PropertyNewValue

    PropertyNotify event, serial 9, synthetic NO, window 0x3200001,
    atom 0x22 (WM_COMMAND), time 3612657, state PropertyNewValue

    PropertyNotify event, serial 10, synthetic NO, window 0x3200001,
    atom 0x28 (WM_NORMAL_HINTS), time 3612657, state PropertyNewValue

    CreateNotify event, serial 11, synthetic NO, window 0x3200001,
    parent 0x3200001, window 0x3200002, (10,10), width 50, height 50
    border_width 4, override NO

    PropertyNotify event, serial 14, synthetic NO, window 0x3200001,
    atom 0x14e (WM_PROTOCOLS), time 3612658, state PropertyNewValue

    MapNotify event, serial 15, synthetic NO, window 0x3200001,
    event 0x3200001, window 0x3200002, override NO

    ConfigureNotify event, serial 20, synthetic NO, window 0x3200001,
    event 0x3200001, window 0x3200001, (0,0), width 178, height 178,
    border_width 0, above 0x6002d8, override NO

    PropertyNotify event, serial 28, synthetic NO, window 0x3200001,
    atom 0x1c9 (_NET_WM_ALLOWED_ACTIONS), time 3612658, state PropertyNewValue

    ReparentNotify event, serial 29, synthetic NO, window 0x3200001,
    event 0x3200001, window 0x3200001, parent 0x400af8,
    (0,0), override NO

    PropertyNotify event, serial 29, synthetic NO, window 0x3200001,
    atom 0x153 (_NET_FRAME_EXTENTS), time 3612664, state PropertyNewValue

    ConfigureNotify event, serial 29, synthetic NO, window 0x3200001,
    event 0x3200001, window 0x3200001, (10,45), width 178, height 178,
    border_width 0, above 0x0, override NO

    PropertyNotify event, serial 29, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612664, state PropertyNewValue

    PropertyNotify event, serial 31, synthetic NO, window 0x3200001,
    atom 0x156 (_NET_WM_DESKTOP), time 3612665, state PropertyNewValue

    PropertyNotify event, serial 32, synthetic NO, window 0x3200001,
    atom 0x193 (WM_STATE), time 3612665, state PropertyNewValue

    PropertyNotify event, serial 32, synthetic NO, window 0x3200001,
    atom 0x15c (_NET_WM_STATE), time 3612665, state PropertyNewValue

    PropertyNotify event, serial 32, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612665, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612666, state PropertyNewValue

    ConfigureNotify event, serial 34, synthetic YES, window 0x3200001,
    event 0x3200001, window 0x3200001, (48,117), width 178, height 178,
    border_width 2, above 0x0, override NO

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612668, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x15c (_NET_WM_STATE), time 3612668, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612668, state PropertyNewValue

    MapNotify event, serial 34, synthetic NO, window 0x3200001,
    event 0x3200001, window 0x3200001, override NO

    VisibilityNotify event, serial 34, synthetic NO, window 0x3200001,
    state VisibilityUnobscured

    Expose event, serial 34, synthetic NO, window 0x3200001,
    (0,0), width 178, height 10, count 3

    Expose event, serial 34, synthetic NO, window 0x3200001,
    (0,10), width 10, height 58, count 2

    Expose event, serial 34, synthetic NO, window 0x3200001,
    (68,10), width 110, height 58, count 1

    Expose event, serial 34, synthetic NO, window 0x3200001,
    (0,68), width 178, height 110, count 0

    FocusIn event, serial 34, synthetic NO, window 0x3200001,
    mode NotifyNormal, detail NotifyNonlinear

    KeymapNotify event, serial 34, synthetic NO, window 0x0,
    keys:  68  0   0   32  16  2   0   0   0   0   0   0   0   0   0   0
    0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x15c (_NET_WM_STATE), time 3612670, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612670, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x15c (_NET_WM_STATE), time 3612670, state PropertyNewValue

    PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612670, state PropertyNewValue

    KeyRelease event, serial 34, synthetic NO, window 0x3200001,
    root 0x6be, subw 0x0, time 3612769, (729,422), root:(779,541),
    state 0x10, keycode 36 (keysym 0xff0d, Return), same_screen YES,
    XLookupString gives 1 bytes: (0d) ”

    XFilterEvent returns: False

    KeyPress event, serial 37, synthetic NO, window 0x3200001,
    root 0x6be, subw 0x0, time 3613270, (729,422), root:(779,541),
    state 0x10, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False

    FocusOut event, serial 37, synthetic NO, window 0x3200001,
    mode NotifyGrab, detail NotifyAncestor

    FocusOut event, serial 37, synthetic NO, window 0x3200001,
    mode NotifyWhileGrabbed, detail NotifyNonlinear

    PropertyNotify event, serial 37, synthetic NO, window 0x3200001,
    atom 0x15c (_NET_WM_STATE), time 3613418, state PropertyNewValue

    PropertyNotify event, serial 37, synthetic NO, window 0x3200001,
    atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3613418, state PropertyNewValue

    In answer to your question, I can confirm that the space key is not the only one to malfunction. I’ve also noticed that the Alt+Tab combination doesn’t always work properly. Sometimes, instead of switching between windows, only the Tab key seems to be taken into account.

    Thank you in advance for your help with this.

    #49328
    Britgirl
    Keymaster

    There are no keys recorded by xev, maybe the application didn’t have the focus? You have to keep the cursor on the xev window to make them appear. Can you try again in that way?

    Can you also tell us if “Grab the keyboard” is enabled in the Player settings? (Settings > Player > Input)

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