Package:  wdm
Version:  1.28-3.4

In BTS report #230422, I outline the need for a hook into the Xreset
phase of the display manager.  Please implement support for it in wdm,
to make it possible to run scripts when users log out from a wdm
session.

This patch should solve the issue, and this bug should be blocked by
#230422.

diff -ur wdm-1.28/debian/config/Xreset wdm-1.28-pere/debian/config/Xreset
--- wdm-1.28/debian/config/Xreset       2010-02-26 14:01:30.000000000 +0100
+++ wdm-1.28-pere/debian/config/Xreset  2010-02-26 14:02:48.000000000 +0100
@@ -4,6 +4,11 @@
 #
 # This script is run as root after any X session ends.

+# Use common Xreset framework if it exist
+if [ -x /etc/X11/Xreset ] ; then
+  /etc/X11/Xreset
+fi
+
 # Remove the utmp entry for the session
 if grep -q ^use-sessreg /etc/X11/wdm/wdm.options; then
   sessreg -d -l $DISPLAY -u /var/run/utmp -x /etc/X11/wdm/Xservers $USER

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to