This is a setup to allow linux host to boot into a kiosk mode, and display dashboard from a grafana service. It may require some work to run on not-raspbery PI + LXDE. This is an example, it is not meant to be secure or reliable.
- Get the grafana-kiosk binary. There is no deb. I look up the version in releases, copy the checksum, and edit
get_grafana_kiosk.shscript. It will download, verify, and make executable a binary. - on my system, destkop config lives in
~/.config/lxsession/LXDE/find there autorun and desktop.conf. See what's inautorun, you may want to merge it with the one provided here. Make suredesktop.confhas the two settings with the right values. - edit
start_kiosk.sh, put in credentials and grafana URL. Those credentials really want to live in something likeInfisical, but that's later. - I want the screen to be always on, untill I turn it off. I turn it off via a script
creen_sleep.sh.
Note:
- Mine runs on some type of RPI + LXDE.
- I run from user $home, because values here will override system defaults, this should cause less surpries in the future.
- Invariably something will break with the setup. Most likely relevant logs wil be in
.cache/lxsession/LXDE/run.logand full of noise.