Forum / NoMachine for Linux / Problem with space key from Windows to a Linux
Tagged: space
- This topic has 3 replies, 2 voices, and was last updated 3 months, 1 week ago by Britgirl.
-
AuthorPosts
-
August 22, 2024 at 12:08 #49288RoukmouteParticipant
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.
August 22, 2024 at 15:07 #49302BritgirlKeymasterHi,
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?
August 22, 2024 at 17:33 #49306RoukmouteParticipantour,
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 PropertyNewValuePropertyNotify event, serial 9, synthetic NO, window 0x3200001,
atom 0x22 (WM_COMMAND), time 3612657, state PropertyNewValuePropertyNotify event, serial 10, synthetic NO, window 0x3200001,
atom 0x28 (WM_NORMAL_HINTS), time 3612657, state PropertyNewValueCreateNotify event, serial 11, synthetic NO, window 0x3200001,
parent 0x3200001, window 0x3200002, (10,10), width 50, height 50
border_width 4, override NOPropertyNotify event, serial 14, synthetic NO, window 0x3200001,
atom 0x14e (WM_PROTOCOLS), time 3612658, state PropertyNewValueMapNotify event, serial 15, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200002, override NOConfigureNotify event, serial 20, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, (0,0), width 178, height 178,
border_width 0, above 0x6002d8, override NOPropertyNotify event, serial 28, synthetic NO, window 0x3200001,
atom 0x1c9 (_NET_WM_ALLOWED_ACTIONS), time 3612658, state PropertyNewValueReparentNotify event, serial 29, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, parent 0x400af8,
(0,0), override NOPropertyNotify event, serial 29, synthetic NO, window 0x3200001,
atom 0x153 (_NET_FRAME_EXTENTS), time 3612664, state PropertyNewValueConfigureNotify event, serial 29, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, (10,45), width 178, height 178,
border_width 0, above 0x0, override NOPropertyNotify event, serial 29, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612664, state PropertyNewValuePropertyNotify event, serial 31, synthetic NO, window 0x3200001,
atom 0x156 (_NET_WM_DESKTOP), time 3612665, state PropertyNewValuePropertyNotify event, serial 32, synthetic NO, window 0x3200001,
atom 0x193 (WM_STATE), time 3612665, state PropertyNewValuePropertyNotify event, serial 32, synthetic NO, window 0x3200001,
atom 0x15c (_NET_WM_STATE), time 3612665, state PropertyNewValuePropertyNotify event, serial 32, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612665, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612666, state PropertyNewValueConfigureNotify event, serial 34, synthetic YES, window 0x3200001,
event 0x3200001, window 0x3200001, (48,117), width 178, height 178,
border_width 2, above 0x0, override NOPropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612668, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x15c (_NET_WM_STATE), time 3612668, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612668, state PropertyNewValueMapNotify event, serial 34, synthetic NO, window 0x3200001,
event 0x3200001, window 0x3200001, override NOVisibilityNotify event, serial 34, synthetic NO, window 0x3200001,
state VisibilityUnobscuredExpose event, serial 34, synthetic NO, window 0x3200001,
(0,0), width 178, height 10, count 3Expose event, serial 34, synthetic NO, window 0x3200001,
(0,10), width 10, height 58, count 2Expose event, serial 34, synthetic NO, window 0x3200001,
(68,10), width 110, height 58, count 1Expose event, serial 34, synthetic NO, window 0x3200001,
(0,68), width 178, height 110, count 0FocusIn event, serial 34, synthetic NO, window 0x3200001,
mode NotifyNormal, detail NotifyNonlinearKeymapNotify 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 0PropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x15c (_NET_WM_STATE), time 3612670, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612670, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x15c (_NET_WM_STATE), time 3612670, state PropertyNewValuePropertyNotify event, serial 34, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3612670, state PropertyNewValueKeyRelease 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: FalseKeyPress 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: FalseFocusOut event, serial 37, synthetic NO, window 0x3200001,
mode NotifyGrab, detail NotifyAncestorFocusOut event, serial 37, synthetic NO, window 0x3200001,
mode NotifyWhileGrabbed, detail NotifyNonlinearPropertyNotify event, serial 37, synthetic NO, window 0x3200001,
atom 0x15c (_NET_WM_STATE), time 3613418, state PropertyNewValuePropertyNotify event, serial 37, synthetic NO, window 0x3200001,
atom 0x1a2 (_GTK_EDGE_CONSTRAINTS), time 3613418, state PropertyNewValueIn 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.
August 23, 2024 at 11:28 #49328BritgirlKeymasterThere 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)
-
AuthorPosts
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.