# Problems starting VNC on OOD with LSF manager

**URL:** <https://discourse.openondemand.org/t/problems-starting-vnc-on-ood-with-lsf-manager/544>\
**Category:** Get Help\
**Created:** [October 10, 2019, 11:34pm UTC](https://discourse.openondemand.org/t/problems-starting-vnc-on-ood-with-lsf-manager/544 "2019-10-10T23:34:43Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![cjh](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/cjh/32/198_2.png) [@cjh](https://discourse.openondemand.org/u/cjh)\
**Post date:** [October 11, 2019, 7:46pm UTC](https://discourse.openondemand.org/t/problems-starting-vnc-on-ood-with-lsf-manager/544/3 "2019-10-11T19:46:51Z")

</div>

Rotaugenlaubfrosch,

This sounds similar to an issue I had when setting up OOD with LSF, in my case it was a race condition, if LSF didn’t show a submitted job via ‘bjobs’ immediately after submission, the startup procedure would never continue.

My solution was to make a wrapper script for the bjobs command to have it sleep for a few seconds before running the actual ‘bjobs’ command, then pointed to it in _cluster_.yml:

```
job:
  bin_overrides:
    bjobs: "/path/to/bjobs/wrapper"

```

The delay was enough so that the launched job was found, and the startup worked afterwards:

> [@Jupyter interactive app question - launching, but not providing link to](https://discourse.openondemand.org/t/jupyter-interactive-app-question-launching-but-not-providing-link-to/435/3):
>
> Thank you for the response. We’re running LSF 9.1.3 currently (and working on migrating to 10.x). It looks like the problem is a delay between when bsub returns the jobid for a new job, and when the bjobs command starts returning that jobid’s status. I’d been aware of this gap, though it’s usually less than a second and can run longer, obviously it’s too long, and OnDemand considers the job to have failed since it doesn’t return for that id immediately. I made a wrapper script for the bjobs …

---

_[View the full topic](https://discourse.openondemand.org/t/problems-starting-vnc-on-ood-with-lsf-manager/544)._
