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

Bug#208205: marked as done (Stopping kdm does not cleanly logout active kde sessions)



Your message dated Wed, 10 May 2006 13:34:00 -0400
with message-id <200605101334.00910.chrsmrtn@debian.org>
and subject line obsolete
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdm
Version: 4:3.1.3-1

Chris,

I learned this from the acpi package that does this during a powerbutton
(halt) event. I think the kdm package should support this directly.

This patch will cleanly close active kde sessions. 

/etc/init.d/kdm:
  stop)
+    if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop ; then
+    	echo -n "Logging out all kde sessions: "
+        dcop --all-users ksmserver ksmserver logout 0 2 0
+    	echo "done."
+    fi
    echo -n "Stopping K Desktop Manager: "

Dave



--- End Message ---
--- Begin Message ---
This report is obsolete, but if you believe there still to be an issue, 
let us know.

--- End Message ---

Reply to: