/etc/xrdp/reconnectwm.sh is in xrdp 0.9.5-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3
#!/bin/sh # Write procedures here you want to execute on reconnect