[prev in list] [next in list] [prev in thread] [next in thread]
List: kde
Subject: Re: [kde] autologout without shutdown?
From: Kevin Krammer <kevin.krammer () gmx ! at>
Date: 2005-12-23 22:09:16
Message-ID: 200512232309.22979.kevin.krammer () gmx ! at
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
On Friday 23 December 2005 21:34, Markus Grabner wrote:
> Am Mittwoch, 21. Dezember 2005 13:39 schrieb Kevin Krammer:
> > Maybe if ou configure KDM to not allow shutdown by normal users.
>
> Ok, thanks for the hint, then indeed the machine returns to the login
> screen after the timeout. However, I still want to allow users to shut down
> or reboot, I just want to prevent them from indefinitely locking a machine.
> Is such a configuration possible with the autologout feature?
I had a look at the code.
The problem is in kdesktop_lock. It does a DCOP call to ksmserver's logout()
function like this (using commandline DCOP syntax for demonstration):
dcop ksmserver ksmsever logout 0 2 0
where "2" unfortunately means "halt" :(
In case you have the option of patching kdesktop_lock the code is in
kdebase/kdesktop/lock/autologout.cc method logout.
I'll check if there is a bug report for this and add one if there isn't
Cheers,
Kevin
--
Kevin Krammer <kevin.krammer@gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtforum.org
[Attachment #5 (application/pgp-signature)]
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic