# Mate Desktop in a Singularity container?

**URL:** <https://discourse.openondemand.org/t/mate-desktop-in-a-singularity-container/696>\
**Category:** Get Help\
**Tags:** question\
**Created:** [January 29, 2020, 4:38pm UTC](https://discourse.openondemand.org/t/mate-desktop-in-a-singularity-container/696 "2020-01-29T16:38:31Z")\
**Posts on this page:** 1\
**Showing post:** 29

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 24, 2020, 1:38pm UTC](https://discourse.openondemand.org/t/mate-desktop-in-a-singularity-container/696/29 "2020-04-24T13:38:44Z")

</div>

Do you run GridEngine by any chance? `module` is a function in an `/etc/profile.d` file. Some folks have had to add `. ~/.bashrc` (load a users .bashrc)

Along with `script_wrapper` we also provide header. that is a header.

```yaml
  header: | 
    #!/bin/bash
    . ~/.bashrc

```

You can see this topic for similar issue.

> [@Module not found launching Desktop](https://discourse.openondemand.org/t/module-not-found-launching-desktop/809/19):
>
> 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/mate-desktop-in-a-singularity-container/696)._
