# 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:** 3

<div class="post-metadata">

**Author:** ![thomasbrTTU](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/thomasbrttu/32/249_2.png) [@thomasbrTTU](https://discourse.openondemand.org/u/thomasbrTTU)\
**Post date:** [March 31, 2020, 7:42pm UTC](https://discourse.openondemand.org/t/module-not-found-launching-desktop/809/3 "2020-03-31T19:42:27Z")

</div>

Our output.log file has the following.

Script starting…  
Generating connection YAML file…  
Launching desktop ‘mate’…  
Desktop ‘mate’ ended…  
Cleaning up…

Don’t see any reference to the DISPLAY variable or to the vncserver in the script.sh file.

#!/usr/bin/env bash

cd “{HOME}" module purge && module restore export SHELL="(getent passwd $USER | cut -d: -f7)”  
echo “Launching desktop ‘mate’…”  
source “/home/thomasbr/ondemand/data/sys/dashboard/batch\_connect/sys/bc\_desktop/ivy/output/bc860540-4964-435f-afb0-603b29d8745b/desktops/mate.sh”  
echo “Desktop ‘mate’ ended…”

Here is the form.yml file

* * *

attributes:  
desktop: “mate”  
bc\_vnc\_idle: 0  
bc\_vnc\_resolution:  
required: true  
node\_type: null

form:

- bc\_vnc\_idle
- desktop
- bc\_account
- bc\_num\_hours
- bc\_num\_slots
- node\_type
- bc\_queue
- bc\_vnc\_resolution
- bc\_email\_on\_started

Here is the submit.yml.erb file.

* * *

batch\_connect:  
template: vnc

---

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