I noticed we were unable to login to Desktop variants of the Python Workbench components. This turns out to be because xrdp starts the scripts in /etc/profile using /bin/sh instead of bash, and our runonce scripts use bash-specific syntax.
The underlying issue has been fixed in newer versions of xrdp, but Ubuntu 20.04 still has an older version. Therefore this PR patches the script used by xrdp to use bash instead of sh.
I noticed we were unable to login to Desktop variants of the Python Workbench components. This turns out to be because
xrdp
starts the scripts in/etc/profile
using/bin/sh
instead ofbash
, and ourrunonce
scripts use bash-specific syntax.The underlying issue has been fixed in newer versions of xrdp, but Ubuntu 20.04 still has an older version. Therefore this PR patches the script used by
xrdp
to usebash
instead ofsh
.See https://github.com/neutrinolabs/xrdp/issues/1009