# MATLAB on OOD 3.1: App has not been initialized or does not exist

**URL:** <https://discourse.openondemand.org/t/matlab-on-ood-3-1-app-has-not-been-initialized-or-does-not-exist/3809>\
**Category:** Get Help\
**Tags:** question\
**Created:** [October 11, 2024, 9:02pm UTC](https://discourse.openondemand.org/t/matlab-on-ood-3-1-app-has-not-been-initialized-or-does-not-exist/3809 "2024-10-11T21:02:48Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![SomePersonSomeWhereI](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/somepersonsomewherei/32/2147_2.png) [@SomePersonSomeWhereI](https://discourse.openondemand.org/u/SomePersonSomeWhereI)\
**Post date:** [October 14, 2024, 3:15pm UTC](https://discourse.openondemand.org/t/matlab-on-ood-3-1-app-has-not-been-initialized-or-does-not-exist/3809/11 "2024-10-14T15:15:20Z")

</div>

How do I find why it failed?

```auto
Launching desktop 'xfce'...
[websockify]: pid: 134463 (proxying 26879 ==> localhost:5901)
[websockify]: log file: ./websockify.log
[websockify]: waiting ...
[websockify]: failed to launch!
Cleaning up...
Killing Xvnc process ID 134415
Desktop 'xfce' ended with 1 status...

```

All I see is:  
` /opt/websockify/run: No such file or directory`

In the `/etc/ood/config/clusters.d` file:

```auto
     batch_connect:
       basic:
         script_wrapper: |
           module purge
           %s
       vnc:
         script_wrapper: |
           module purge
           export PATH="/opt/TurboVNC/bin:$PATH"
           export WEBSOCKIFY_CMD="/usr/bin/websockify"

```

Edit:  
now seeing this:

```auto
Launching desktop 'xfce'...
[websockify]: pid: 134684 (proxying 15959 ==> localhost:5901)
[websockify]: log file: ./websockify.log
[websockify]: waiting ...
[websockify]: failed to launch!
Cleaning up...
_IceTransmkdir: ERROR: euid != 0,directory /tmp/.ICE-unix will not be created.
/usr/bin/iceauth: creating new authority file /run/user/1822857372/ICEauthority
Killing Xvnc process ID 134638
Desktop 'xfce' ended with 1 status...

(xfwm4:134718): Gtk-WARNING **: 11:17:24.402: cannot open display: :1

```

edit:  
The websockify error is gone but I still see this:

```auto
Script starting...
Generating connection YAML file...
The system default contains no modules
  (env var: LMOD_SYSTEM_DEFAULT_MODULES is empty)
  No changes in loaded modules

Launching desktop 'xfce'...
xfce4-session: Cannot open display: .
Type 'xfce4-session --help' for usage.
Desktop 'xfce' ended with 1 status...
Cleaning up...

```

It’s not the `/tmp` issue mentioned in this [other thread](https://discourse.openondemand.org/t/unable-to-start-xfce-desktop/2920).

```auto

```

---

_[View the full topic](https://discourse.openondemand.org/t/matlab-on-ood-3-1-app-has-not-been-initialized-or-does-not-exist/3809)._
