Version: (using KDE KDE 3.4.3) Installed from: Debian testing/unstable Packages OS: Linux The auto logout feature of kdesktop_lock calls ksmserver's DCOP interface logout(0, 2, 0) where 2 means, if I am not mistaken, ShutdownTypeHalt I guess it would be better to use 0, -1, 0 i.e. ShutdownTypeDefault See this thread for reference http://lists.kde.org/?t=113503376200003&r=1&w=2
Adding Chris to CC as he seems to be the main author of autologout.cc
reassign to me, I had no idea of this problem.
test
SVN commit 666081 by ossi: don't shutdown at autologout. i chose "logout only" instead of the default action based on the idea that the default is just a default while this is something that will happen without the user having a way to influence it. if it turns out to be a problem for somebody, a config option can be added (yay, another one!). BUG: 118930 M +1 -1 autologout.cc --- trunk/KDE/kdebase/workspace/krunner/lock/autologout.cc #666080:666081 @@ -111,7 +111,7 @@ { QAbstractEventDispatcher::instance()->unregisterTimers(this); org::kde::KSMServerInterface ksmserver("org.kde.ksmserver", "/KSMServer", QDBusConnection::sessionBus()); - ksmserver.logout( 0, 2, 0 ); + ksmserver.logout( 0, 0, 0 ); } void AutoLogout::setVisible(bool visible)