[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Lock screen from console



On Thursday 26 July 2007, Kum Gabor wrote:
> Hi!
>
> Can somebody tell me how can i lock screen in all KDE sessions from console
> or
>
> >from script? I need this for suspending, becuase after wake up now
> > possible
>
> to use computer without password.

You could try

% dcop --all-users --all-sessions kdesktop KScreensaverIface lock

as root or in a script running as root

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: