Bug 118930

Summary: Auto logout halts systems
Product: kscreensaver Reporter: Kevin Krammer <krammer>
Component: generalAssignee: kscreensaver bugs tracking <kscreensaver-bugs-null>
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Kevin Krammer 2005-12-23 23:36:57 UTC
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
Comment 1 Kevin Krammer 2005-12-23 23:38:14 UTC
Adding Chris to CC as he seems to be the main author of autologout.cc
Comment 2 Chris Howells 2006-05-29 01:02:36 UTC
reassign to me, I had no idea of this problem.
Comment 3 Chris Howells 2006-05-29 02:32:27 UTC
Comment 4 Oswald Buddenhagen 2007-05-18 20:19:06 UTC
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

BUG: 118930

 M  +1 -1      autologout.cc  

--- trunk/KDE/kdebase/workspace/krunner/lock/autologout.cc #666080:666081
@@ -111,7 +111,7 @@
     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)