I have a computer with large hard drives configured with encrypted home. It so happens, that the same computer also works my family's main kodi media center. Each time my kids want to see a movie, I have to turn it on, and then physically connect a keyboard to it, and type in the password.
I would love to be able to do that remotely.
Of course I also have a root access to the computer.
I am not willing to create another username with automatic login, because most of the media files are encrypted and I want them to stay this way.
The normal combination of
export DISPLAY=0: and
source discover_session_bus_addres.sh and
xdotool type my_secret_password that works for typing into the lock screen doesn't work on the