I use Microsoft's Remote Desktop Client (mstsc.exe) to connect to a linux server with GNOME as my desktop. I've set up /etc/gdm/PostSession/Default to execute some steps on cleanup - which works when I'm logged in physically. However, /etc/gdm/PostSession/Default is not getting executed when I exit my RDP session.   What triggers /etc/gdm/PostSession/Default to execute?NOTE I'm using CentOS 6.5 with Gnome 2.28.2
How to get gnome to run /etc/gdm/PostSession/Default when using XRDP w/ VNC
linux;centos;gnome