i am searching for a solution how to echo a keydown over SSH to a running GUI (based on debian).like VNC or Teamviewer but only command line based.
control keyboard input on GUI over SSH
debian;ssh
Use xdotool to find the window and send a key event. Example, assuming 'OpenOffice Impress' is in the titlebar of that application, and that it is running on $DISPLAY :0$ ssh remote-computer$ export DISPLAY=:0$ xdotool key --window $(xdotool search --name 'OpenOffice Impress')  F5