Hm.. I am not sure if you understood my questions. Here is what I have: I have a computer with KDE, inlogged most of the time. When I am at my laptop I want to be able to ssh to it and lock the screen, letting all the apps keep running but make sure that no one can use it without typing a password. I would then need to go to the box and login, but I want to be able to lock the screen remotely.
I am aware that xscreensaver is used to lock the screen and I have that installed and it works. But I can't lock it remotely. I found a few commands to lock the screen from a shell but then it needed to be typed in locally.
Maybe I am being a little fuzzy here?