# NoVNC: Remove the "Connect" window when app closes

**URL:** https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263
**Category:** Get Help
**Created:** [March 17, 2019, 5:39pm UTC](https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263 "2019-03-17T17:39:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![shawn.doughty](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@shawn.doughty](https://discourse.openondemand.org/u/shawn.doughty)
#### Post date: [March 17, 2019, 5:39pm UTC](https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263/1 "2019-03-17T17:39:41Z")

</div>

Is there a way to remove the NoVNC “Connect” window that shows up when a user exits out of an app? This is one of the main items we get feedback on that confuses users. Maybe also just close the tab entirely?

---

<div class="post-metadata">

### Author: ![rodgers.355](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rodgers.355/32/193_2.png) [@rodgers.355](https://discourse.openondemand.org/u/rodgers.355)
#### Post date: [March 19, 2019, 7:35pm UTC](https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263/2 "2019-03-19T19:35:05Z")

</div>

@shawn.doughty I spent a chunk of today looking into how this could be done. Have a look at [https://github.com/OSC/ood-dashboard/pull/456](https://github.com/OSC/ood-dashboard/pull/456) for my and @efranz’s thoughts on how to improve the message. It would be a poor user experience if we caused the window to close automatically, because that leave users confused about where their window went if for example their batch job timed out while they were not paying attention. Instead I prefer to change the message:

 ![23%20PM](https://us1.discourse-cdn.com/flex015/uploads/osc/original/1X/d75d78fb4bcc1bf747277d3737190d405debd370.png)

---

<div class="post-metadata">

### Author: ![shawn.doughty](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@shawn.doughty](https://discourse.openondemand.org/u/shawn.doughty)
#### Post date: [March 19, 2019, 11:39pm UTC](https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263/3 "2019-03-19T23:39:01Z")

</div>

I ended up patching base.css and vnc.html Works well, thanks!

---

<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:17pm UTC](https://discourse.openondemand.org/t/novnc-remove-the-connect-window-when-app-closes/263/4 "2022-05-26T15:17:12Z")

</div>


