Intermittent loss of keyboard/mouse

Forums / NoMachine for Linux / Intermittent loss of keyboard/mouse

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #25465
    AvatarEddieA
    Participant

    Running version 6.9.2 on a Slackware 14.2 system.  Connecting from Windows 10, Enterprise Clint 6.9.2.

    Very intermittently I will lose the ability to enter anything via the keyboard or mouse clicks.  The client is still seeing the mouse, because if I hover over menus, status bar, etc. I still get the pop-ups, so it’s registering the mouse position.  I just can’t click on anything or use the keyboard.

    Not sure what information you would want when this happens.

    Cheers.

     

    #25473
    Avatargraywolf
    Moderator

    Hello, likely a modifier got stuck in “key down” state. Should such issue occur again, press/release all Alt/Shift/Ctrl keys and let us know.

    #25479
    AvatarEddieA
    Participant

    OK, will do.

    Although I wouldn’t have thought that would have caused all keyboard and mouse actions to be blocked.  I would have unexpected “strange” results.

    Cheers.

    #25482
    AvatarEddieA
    Participant

    Actually I hadn’t killed anything yesterday, when I reported this, so connecting again, it’s still in the same “no input” state.

    Tried mashing every single key on the keyboard multiple times.  No effect.

    Cheers.

     

    #25564
    Avatargraywolf
    Moderator

    Is it your server user session on Wayland or Xorg?

    If it is Xorg, you could check if any mouse/keyboard grab is active when such loss of keyboard/mouse occurs.

    #25565
    AvatarEddieA
    Participant
    #25601
    Avatargraywolf
    Moderator

    So you have one virtual NoMachine display. You can check input with xev:

    • Connect by NoMachine to the troublesome session.
    • Connect by ssh to the NoMachine server and run this command to find the display number of the session and exporting to terminal: export $(cat /proc/$(pgrep nxclient.bin)/environ | grep -z DISPLAY) (there is only one session, so only one nxclient.bin)
    • Run the xev command in the ssh terminal. The xev white window will show up in the NoMachine session. Try to hover, click, type in the window. Check the results in the ssh terminal.

    Then, you can list the apps grabbing the mouse/keyboard:

    • Run the command  xdotool key XF86LogGrabInfo in the ssh terminal.
    • Check the result in session log file. Find it with command  /usr/NX/var/log/node/C-*$(cat /proc/$(pgrep nxclient.bin)/environ | grep -z NX_SESSIONID | cut -f2 -d= )/session
    • You can terminate the grabs with command: xdotool key XF86ClearGrab or kill the grabbing app.
Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.