Re: Running scripts as root when a user log out of X [SOLVED]
thanks for following this topic. I didn't expect that this is a
"[SOLVED]" posting when I read it first - but was sure that you were
Hence I did some research on the web. It seems like recent versions of
WMs follow freedesktop.org specs and use dbus in order to send shutdown
commads (man dbus-send || http://linux.die.net/man/1/dbus-send).
I wonder if tweaking the dbus backend once/directly could be a more
global approach than implementing Xreset.d for every single WM?
Am Samstag, 10. April 2010 schrieb Petter Reinholdtsen:
> 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,