Hi List! Is it possible to lock the desktop out on a remote computer? Locally, I use the Lock/Logout Applet (the lock button), which controlls the screen saver, I guess. How I can do the same while ssh-ing to remote computer? TIA cikasole
Op woensdag 5 mei 2004 15:39, schreef Radule Soskic:
Hi List!
Is it possible to lock the desktop out on a remote computer?
Locally, I use the Lock/Logout Applet (the lock button), which controlls the screen saver, I guess. How I can do the same while ssh-ing to remote computer?
Which (kde) desktop? With kde the call is most likely: dcop ksmserver ksmserver logout ( . . . ) With some values in the ( . . . ). I don't know the values. You need to look them up yourself. You can add the --user <user> to logout a certain user: dcop --user <user> ksmserver ksmserver logout ( . . . ) -- Richard Bos Without a home the journey is endless
Op woensdag 5 mei 2004 20:57, schreef Richard Bos:
( . . . )
It seems that the possible values are declared in the file: /opt/kde3/include/kapplication.h Look for the functions: ShutdownConfirm ShutdownType ShutdownMode -- Richard Bos Without a home the journey is endless
Radule Soskic wrote:
Hi List!
Is it possible to lock the desktop out on a remote computer?
Locally, I use the Lock/Logout Applet (the lock button), which controlls the screen saver, I guess. How I can do the same while ssh-ing to remote computer?
I'm not quite sure I understand what you're asking. Why not just have the desktop lock on it's own, after a period of inactivity?
Radule Soskic wrote:
Hi List!
Is it possible to lock the desktop out on a remote computer?
Locally, I use the Lock/Logout Applet (the lock button), which controlls the screen saver, I guess. How I can do the same while ssh-ing to remote computer?
i have a file that is executable and does this: killall kdesktop_lock /opt/kde3/bin/kdesktop_lock --forcelock for some reason the kdesktop_lock process doesn't always stop so I killall kdesktop_lock processes first, then run kdesktop_lock with the --forcelock option. that should do it. the only problem you might have is if your kdesktop_lock is in a different place than mine. try which kdesktop_lock to see where it's at. rock on! bb
On Thu, 2004-05-06 at 00:25, Brad Bendily wrote:
killall kdesktop_lock /opt/kde3/bin/kdesktop_lock --forcelock
This works! Thank you.
for some reason the kdesktop_lock process doesn't always stop so I killall kdesktop_lock processes first, then run kdesktop_lock with the --forcelock option.
I tried this a number of times, and it worked well even without killall.
that should do it. the only problem you might have is if your kdesktop_lock is in a different place than mine.
try which kdesktop_lock to see where it's at.
rock on! bb
Best regards, cikasole
participants (5)
-
Brad Bendily
-
cikasole
-
James Knott
-
Radule Soskic
-
Richard Bos