I'm trying to start a script after connecting to XRDP but, the script doesn't run. I've tried adding the script to /etc/xdg/autostart, ~/.config/autostart. When I place them here, it starts when I log in at the desktop itself but, it doesn't start when I log in via XRDP. Not sure why though.
How can I start a script after connecting via xrdp?
ubuntu;desktop;unity;xrdp