1. The offending file in the source package, as fetched by apt-get source xrdp, is
xrdp-0.6.0/debian/startwm.sh
2. I have ordinary-user access to an Ubuntu 16.04 system. apt-get source xrdp there confirms that the corresponding file
xrdp-0.6.1/debian/startwm.sh
is the same. So the same bug exists in Ubuntu 16.04, in xrdp 0.6.1.
3. In both cases it looks like the bug is imported from Debian.
Some additional clues:
1. The offending file in the source package, as fetched by apt-get source xrdp, is 6.0/debian/ startwm. sh
xrdp-0.
2. I have ordinary-user access to an Ubuntu 16.04 system. apt-get source xrdp there confirms that the corresponding file 6.1/debian/ startwm. sh
xrdp-0.
is the same. So the same bug exists in Ubuntu 16.04, in xrdp 0.6.1.
3. In both cases it looks like the bug is imported from Debian.