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

How do I find why it failed?

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:

     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:

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:

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.