# Module not found launching Desktop

**URL:** <https://discourse.openondemand.org/t/module-not-found-launching-desktop/809>\
**Category:** Get Help\
**Created:** [March 31, 2020, 1:59pm UTC](https://discourse.openondemand.org/t/module-not-found-launching-desktop/809 "2020-03-31T13:59:48Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![dugan](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@dugan](https://discourse.openondemand.org/u/dugan)\
**Post date:** [April 2, 2020, 10:05am UTC](https://discourse.openondemand.org/t/module-not-found-launching-desktop/809/19 "2020-04-02T10:05:59Z")

</div>

Boston University uses SGE and we also ran into this problem. Our script\_wrapper begins with:

set +o posix

This tells /bin/sh to behave like /bin/bash and allows process substitution to work. It also  
looks like the module command isn’t defined. To deal with that you might also need to add:

. /etc/bashrc

What we actually do is add this:

. ~/.bashrc

which sources /etc/bashrc but also brings in some user settings (umask in particular).  
hope this helps.

–Mike Dugan

---

_[View the full topic](https://discourse.openondemand.org/t/module-not-found-launching-desktop/809)._
