Hi,
I have Node-RED running on ubuntu dekstop locally and i want show a picture in fullscreen from a node-RED trigger, i thought that would be possible from the exec node but got these error
`Command failed: bash /home/mediacenter/.node-red/scripts/2.sh
Unable to init server: Could not connect: Connection refused
(eog:4320): Gtk-WARNING **: 19:32:36.916: cannot open display: `
when i run the command in the terminal is works as expected. Why does i not work from Node-RED?
This is my flow
[{"id":"a2d7b281.33cbe","type":"exec","z":"7f48333a.ec0c9c","command":"","addpay":true,"append":"","useSpawn":"false","timer":"60","oldrc":false,"name":"","x":410,"y":140,"wires":[[],[],["372535d6.3e8fda"]]}]
and this in the 2.sh file
#!/bin/bash
eog --fullscreen /home/mediacenter/media/instructions/1.gif