# Owens OnDemand Mate Environment Loading Perpetually

**URL:** <https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254>\
**Category:** Get Help\
**Created:** [December 16, 2020, 4:31pm UTC](https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254 "2020-12-16T16:31:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jflaherty13](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jflaherty13/32/597_2.png) [@jflaherty13](https://discourse.openondemand.org/u/jflaherty13)\
**Post date:** [December 16, 2020, 4:31pm UTC](https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254/1 "2020-12-16T16:31:38Z")

</div>

When loading an OnDemand session of Owens in the Mate environment, the desktop is blank with the cursor stuck in the loading animations (image attached). It seems to work fine in the Xfce environment.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/cd3eea2bb516b52e8fb8926c69742ace8e0fddf6.jpeg)

---

<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:** [December 16, 2020, 4:38pm UTC](https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254/2 "2020-12-16T16:38:02Z")

</div>

You should email [oschelp@osc.edu](mailto:oschelp@osc.edu) and we can help you out there through our ticketing system. These forums are more about the open source Open OnDemand project and less about OSC help tickets specifically.

That said - I can’t replicate so I imagine we’ll have to look at your environment. Likely it’s something to do with python conda installations. In any case, they’ll also direct it to me, so I can take a look at it there.

---

<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:** [January 5, 2021, 8:55pm UTC](https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254/3 "2021-01-05T20:55:19Z")

</div>

If anyone sees this in the future, we needed override the `before_script` to set `XDG_RUNTIME_DIR`.

```auto
---
batch_connect:
  before_script: |
    # Export the module function if it exists
    [[$(type -t module) == "function"]] && export -f module

    # MATE acts strange in Slurm and doesn't like /var/run/$(id -u)
    export XDG_RUNTIME_DIR="$TMPDIR/xdg_runtime"

```

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:43pm UTC](https://discourse.openondemand.org/t/owens-ondemand-mate-environment-loading-perpetually/1254/4 "2022-05-26T15:43:01Z")

</div>

Closed on May 26, 2022, 3:43pm UTC


