So 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.