Package:  gdm
Version:  2.20.10-1
User:     [email protected]
UserTags: debian-edu

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 gdm,
to make it possible to run scripts when users log out from a gdm
session.  This bug should be blocked by #230422.

This patch should solve the issue, if I understood the code correctly.

diff -ru gdm-2.20.10/config/PostSession.in 
gdm-2.20.10-pere/config/PostSession.in
--- gdm-2.20.10/config/PostSession.in   2009-03-19 05:59:27.000000000 +0100
+++ gdm-2.20.10-pere/config/PostSession.in      2010-02-26 14:13:07.000000000 
+0100
@@ -19,4 +19,9 @@
   echo "$OUTPUT"
 }

+# Use common Xreset framework if it exist
+if [ -x /etc/X11/Xreset ] ; then
+  /etc/X11/Xreset
+fi
+
 exit 0

Happy hacking,
-- 
Petter Reinholdtsen



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

Reply via email to