Forum / NoMachine for Linux / NoMachine stops accepting mouse and keyboard input
- This topic has 4 replies, 2 voices, and was last updated 4 hours, 7 minutes ago by
Britgirl.
-
AuthorPosts
-
November 5, 2025 at 03:54 #54730
webdawgParticipantSo every once in a while for the past many years I connect to no machine. This is Xorg – physical desktop control.
It would stop accepting inputs: mouse – keyboard
I would restart w/ systemctl and nothing. I recently did a few hour diagnosis session, and this fixes it:
PID=$(ps -o pid= -C nxnode.bin | tail -n1 | tr -d ' ') echo "Tracing nxnode PID: $PID" sudo timeout 6s strace -tt -e trace=openat -p "$PID" -o /tmp/nxnode.open || true grep -F '/dev/uinput' /tmp/nxnode.open || echo "no /dev/uinput open() attempts recorded"
After attaching to the process, and letting it go – keyboard and mouse input springs to life.
Not sure of actual cause here – just know I have been dealing with this in Xorg for years.
November 7, 2025 at 12:01 #54754
BritgirlKeymasterHi, we’ve not come across this. Can you send us the logs of the NoMachine host whose host you are connecting to? You can extract them using the instructions here: https://kb.nomachine.com/DT08U00298 (Settings -> Server -> Security, Take logs)
You can attach them here or send them to forum[at]nomachine[dot]com. Please use the title of this topic as the subject of your email. Thanks!November 7, 2025 at 16:41 #54763
webdawgParticipantI can get logs. I am close to being able to replicate this:
I remote in, input does not work.
I tried this:
PID=$(ps -o pid= -C nxnode.bin | tail -n1 | tr -d ' ')
echo "Tracing nxnode PID: $PID"
sudo timeout 6s strace -tt -e trace=openat -p "$PID" -o /tmp/nxnode.open || true
grep -F '/dev/uinput' /tmp/nxnode.open || echo "no /dev/uinput open() attempts recorded"This stopped working in the erroring session.
This unstuck it:
DISPLAY=:0 xdotool mousemove 200 200 click 3That stopped working.
Today I tried this:
DISPLAY=:0 xdotool mousemove 200 200 click 3PID=$(ps -o pid= -C nxnode.bin | tail -n1 | tr -d ' ')
echo "Tracing nxnode PID: $PID"
sudo timeout 6s strace -tt -e trace=openat -p "$PID" -o /tmp/nxnode.open || true
DISPLAY=:0 xdotool mousemove 200 200 click 3
DISPLAY=:0 xdotool key ctrl+alt+t
DISPLAY=:0 xdotool type "da"
DISPLAY=:0 xdotool type "da"
DISPLAY=:0 xdotool type "da"
DISPLAY=:0 xdotool key ctrl+alt+t
DISPLAY=:0 xdotool type "da"
DISPLAY=:0 xdotool type "da"
DISPLAY=:0 xdotool type "da"
That worked twice.
What does fix it everytime is me coming to the physical ps/2 keyboard and typing. Session unsticks everytime.
I sent the server logs to the email address.
November 7, 2025 at 18:50 #54767
BritgirlKeymasterThanks for the logs. We’ll take a look and come back to you.
November 7, 2025 at 19:02 #54768
BritgirlKeymasterWhile we check, please ask to add this to /usr/NX/etc/node.cfg (and then restart the nxserver):
DisplayServerExtraOptions "-eventdelay 0"It would help to narrow the investigation down, besides being a possible workaround.
-
AuthorPosts
You must be logged in to reply to this topic. Please login here.
