I have my RasPi connected to my TV and was wondering how I could lock and unlock the gui via SSH.
I disabled the autlogin on boot with purpose and I would like to be forced to connect an Keyboard for the Login.
When I tried google, I found the xset s off
and xset s on
commands but this seem to have no effect.
Also I installed xscreensaver
but I am not sure how I can login in the beginning.
I am using the RP3 with Raspbian and Pixel.
Hope, some of you might help