UtrechtUniversity / researchcloud-items

Installation scripts for SURF ResearchCloud catalog components
https://utrechtuniversity.github.io/researchcloud-items/
GNU General Public License v3.0
7 stars 4 forks source link

Patch shebang in xrdp shell script #140

Closed dometto closed 1 month ago

dometto commented 1 month ago

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.

See https://github.com/neutrinolabs/xrdp/issues/1009