Since today, the /etc/Xreset.d/ feature is implemented in xdm, kdm and gdm. This make it easier to implement a killer like feature to get rid of runaway processes at login time. PAM can not be used for this, as its session close part is executed as the user itself during logout. This feature was requested by the Debian Edu project back in 2004 (#230422) and was finally implemented this spring. :) Happy hacking, -- Petter Reinholdtsen