# Dashboard: start and show an application on dashboard

**URL:** <https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342>\
**Category:** Dashboard\
**Created:** [26 November 2021 15:38 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342 "2021-11-26T15:38:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)\
**Post date:** [26 November 2021 15:38 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/1 "2021-11-26T15:38:46Z")

</div>

Hi!  
I am triing to implement a phython program which is simply started via the terminal, into the nodered-dashboard.

Is there a possibility to start the application from the dashboard as well as embed the application window within the dashboard and/or other browser window?

kind regards

Peter

---

<div class="post-metadata">

**Author:** ![akashtalole](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/akashtalole/32/30002_2.png) [@akashtalole](https://discourse.nodered.org/u/akashtalole)\
**Post date:** [27 November 2021 03:21 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/2 "2021-11-27T03:21:55Z")

</div>

Hi,  
You can use exec node to run commands on your host. You can create button on nodered dashboard which will trigger exec node.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/d/ed7e1ff26f3c51e72ed410019fa954102ecb30f7.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/0697713ccabc45d3f9340d26d7788cc0d58038a9.png)

---

<div class="post-metadata">

**Author:** ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)\
**Post date:** [27 November 2021 10:47 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/3 "2021-11-27T10:47:08Z")

</div>

hello!

yes, but the started application window doesn\_t show up in the dashboard-ui then.

is there a way to catch it?

thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 November 2021 11:09 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/4 "2021-11-27T11:09:00Z")

</div>

Generally you can't run an application within the browser. Remember the browser might not even be on the same PC as node-red, or even on the same continent.

What sort of app is it?

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [27 November 2021 13:32 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/5 "2021-11-27T13:32:08Z")

</div>

You can show it on the desktop. On the dashboard you can present data that is prepared & delivered by the python program. To make that happen you will need to implement that feature in the python program and then catch the data in NR -\> Dashboard

To show the application window on the desktop, you can try the following command in the exec node:

`export DISPLAY=:0 && lxterminal -e python /path to file/mypython.py`

assuming you are running it in a RPi

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 November 2021 13:35 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/6 "2021-11-27T13:35:04Z")

</div>

Which will go to the desktop of the machine running node red of course, which may not be the one running the browser.

---

<div class="post-metadata">

**Author:** ![habakuk25](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/habakuk25/32/80963_2.png) [@habakuk25](https://discourse.nodered.org/u/habakuk25)\
**Post date:** [27 November 2021 21:32 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/7 "2021-11-27T21:32:46Z")

</div>

@ collin: you are right:

acutally I want to display the  
foxtrotgps - programm

within the dashboard browser.

it is easily started by

terminal - cmd: foxtrotgps that means with a exec node of course exactly the same.

# 

then the foctrotgps window opens on the desktop on the machine.

The machnine where nodered runs and where foxtrotgps runs is the same of course.

Is it possible that there is no node or other feature to "caputure" the foxtrotwindow and display it in the browser, to be able to use the application from remote??

that would be weird and somewhat disappointing..

please help.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [27 November 2021 22:05 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/8 "2021-11-27T22:05:49Z")

</div>

> [@habakuk25](#):
>
> Is it possible that there is no node or other feature to "caputure" the foxtrotwindow and display it in the browser, to be able to use the application from remote??

It isn't a matter or whether there is a node to do it, it is whether it is possible to display the app in a browser. As far as I am aware it is not possible. That is what applications like VNC and Teamviewer do.

If the app were a web app designed to be run in a browser then you could run it in an iframe inside the dashboard, or maybe even include it directly in a template node, but if it is not a web app then you can't, as far as I know.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [27 December 2021 22:06 UTC](https://discourse.nodered.org/t/dashboard-start-and-show-an-application-on-dashboard/54342/9 "2021-12-27T22:06:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
