I want to unlock the black screen over ssh (screensaver). I have a desktop ubuntu 21.04 and I want to log into this via ssh and unlock the screensaver. I tried xdotool in a script:
#!/bin/bash
export DISPLAY=:0
xdotool type "1234"
and also ydotool:
#!/bin/bash
export DISPLAY=:0
ydotool type "1234"
xdotool does nothing and with ydotool i get an error ( ydotool: notice: ydotoold backend unavailable (may have latency+delay issues) terminate called after throwing an instance of 'std::runtime_error' what(): failed to open uinput device ).
How can I unlock the screensaver over an ssh connection?
Thanks
Regards David
sudo kill -9
, he tells me the help of the kill command – Dave Jul 19 '21 at 19:04