From https://unix.stackexchange.com/a/505644/674
if you run
light-locker
through SSH on the remote machine, it will lock your local display and not the remote one (just as running gnome-terminal or any other command will run it on the remote machine but display it locally).
I am not sure what "lock your local display and not the remote one" means.
To see what happens, can someone show me what commands I shall run to "run light-locker
through SSH on the remote machine"?
Note that I do not necessarily run light-locker
, I now use xscreensaver
as screen saver and locker.