Ubuntu – Terminal login into lightdm

16.10command linelightdmunityvnc

If I start my Computer remotely and I want someone to access it with my account without saying them my password, I have to get VNC started and login.

Is there a way to manage that over ssh? So that I can login an account over the terminal?

I hope you can help me

Best Answer

You can simulate typing by using xdotool

xdotool type "password" && xdotool key --clearmodifiers "Return"

should type your password and then type the return key to submit the password

Related Question