--===============1637365125== Content-Type: multipart/signed; boundary="nextPart4988052.n1X5QJIzkH"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart4988052.n1X5QJIzkH Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 do= wn > or reboot, I just want to prevent them from indefinitely locking a machin= e. > 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(= )=20 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=20 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 =2D-=20 Kevin Krammer Qt/KDE Developer, Debian User Moderator: www.mrunix.de (German), www.qtforum.org --nextPart4988052.n1X5QJIzkH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQBDrHWSnKMhG6pzZJIRAuxDAJoDU7+cwomrPkHbKl63evZEX+7d1gCeOWls 7ToDKIvp9+CuOZl86JAMCBU= =9SCt -----END PGP SIGNATURE----- --nextPart4988052.n1X5QJIzkH-- --===============1637365125== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________ 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. --===============1637365125==--