I wanted to run two different Perl scripts at login and logout
(locally). I was going to use ~/.xsession but it seemed like this was
only good to run a script at login and not logout. Some people
suggested that the more reliable way of running those scripts both at
login and logout is to use PAM. However, I am not familiar with PAM
and I don't know where to specify the path of the Perl scripts that
need to be run.
Thanks a lot for your help