Thomas,
What you want is a GNOME logoff script, which is unrelated to XRDP.
Last time I checked GNOME logoff scripts did not work. That's a problem on
GNOME.
But you can allways replace the gnome-session binary by a script that calls
the (now renamed) binary and does whatever you want afterward
> Hi
> I use git to clone the latest code of xrdp.
> Compilation and installation under Ubuntu 10.10: no problem.
> I have set locale to es_AR.utf8 -- that is spanish-argentina
>
> But, when connecting it changes locale to POSIX, even if I set it in
> connection: rdesktop my-server-ip -k es
>
> I