User session global logout script

Jaap jwinius at umrk.nl
Tue Jun 3 16:55:30 PDT 2014


Hi folks,

Is it possible to run a global logout script in the session of the 
departing user?

Such as script would have the advantage of running when certain network 
resources are still available, such as directories in OpenAFS and 
Kerberized NFSv4.

I know that a logout script can be placed in /etc/X11/Xreset.d/, but that 
runs as root after the user's session has ended and the aforementioned 
network resources are no longer available. There are similar display 
manager solutions, but all run as root after the user session ends.

Thanks,

Jaap



More information about the xorg mailing list