Comments (9)
I've gotten around this issue for myself by putting the following contents in the ~/.config/lxsession/LXDE-pi/autostart
file (note that my URL is to a playlist, thus the -playlist
flag as well):
@xset s off
@xset -dpms
@xset s noblank
@/usr/local/bin/grafana-kiosk.linux.armv7 -URL <grafana url> -login-method local -username <username> -password <password> -kiosk-mode full -playlist
I was able to verify the screensaver / power saving settings via an ssh session by running:
xset -display 0:0 q
... and taking a look at the Screen Saver and DPMS (Energy Star) sections.
One interesting note is that I originally had a call to unclutter
in the autostart
file, but noticed a zombie unclutter
process alongside the regular one with this output in the ~/.xsession-errors
:
...
/usr/bin/unclutter: someone created a sub-window to my sub-window! giving up
It appears that something is already launching unclutter
without the extra specification in the autostart (and without the -lxde
flag) so I omitted that and all is working as intended. Hope this helps!
from grafana-kiosk.
Also, great job on the tool.. Similar experience as above, but on latest Raspbian on a Rasp Pi 2 Model B.. Using it with the 7" Touchscreen display.
I'm wondering if this has something to do with the unclutter
command not exiting? It does not start as a bg process on its own.
from grafana-kiosk.
@thirdgen88 thanks so much. The different autostart does the trick for me.
from grafana-kiosk.
i'll have to get a raspberry 4, seems like there's multiple issues (might be 64-bit related)
from grafana-kiosk.
just checking - are you running 32bit or 64bit on your pi4?
from grafana-kiosk.
Same issue on a pi 3B running 32 bit raspbain. If lxde is enabled the browser window never starts.
from grafana-kiosk.
my pi3 isn't doing this:
pi@pi-kiosk-1:~/kiosk $ uname -a
Linux pi-kiosk-1 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l GNU/Linux
pi@pi-kiosk-1:~/kiosk $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
do you have an example startup command? i'm using the config/yaml option.
my new pi4 was hit by a power surge/lightning, will have to get a new one.
from grafana-kiosk.
pi@pi-kiosk:~ $ uname -a
Linux pi-kiosk 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l GNU/Linux
pi@pi-kiosk:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@pi-kiosk:~ $ cat /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s off
@xset -dpms
@xset s noblank
@/usr/bin/grafana-kiosk -c=/home/pi/config.yaml
pi@pi-kiosk:~ $ cat /home/pi/config.yaml
general:
kiosk-mode: full
autofit: false
# lxde: true
# lxde-home: /home/pi
target:
login-method: local
username: administrator
password: hunter2
playlists: true
URL: https://foobar.com/playlists/play/1
ignore-certificate-errors: false
If I uncomment the lxde settings in the config, it will no longer work.
from grafana-kiosk.
I've had the same issue with a Raspberry Pi 2 and ended up fixing it with the changes in #91, tho I guess that the panels are initiated by the lxde autostart.
Earlier tests also hinted that JWM might be a better choice for a window manager that is basically not used.
from grafana-kiosk.
Related Issues (20)
- Support for Azure AD OAuth2 or local bypass HOT 1
- Windows - Open 2 kiosk browsers HOT 2
- Grafana service account method HOT 6
- Chrome or LXDE required? HOT 3
- Kiosk not start Version / oid command not found HOT 1
- Kiosk does not start after Grafana Update v10.1.2 HOT 7
- Grafana shared links, hidden left side, title navigation, especially how to display query criteria HOT 2
- 7 to 10 % CPU HOT 1
- windows, multiple displays HOT 2
- Raspi OS bookworm not working HOT 13
- Linux cli in bash, password with special keys for viewer account fails HOT 1
- Login through AWS looses login from federated idp on exit HOT 1
- Failure during network unavailability on windows HOT 1
- "Unsaved changes" popup at each playlist step since Grafana 9 update HOT 1
- Local Login Fail HOT 7
- ERROR: could not unmarshal event: unknown PrivateNetworkRequestPolicy value HOT 4
- grafana 9 playList id vs uid, unable to find playlist. HOT 3
- gcom login not working on grafana cloud v9.1.6
- grafana 9 sidebar shows when in kiosk=full mode HOT 3
- Stuck on "waiting for login dialog" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grafana-kiosk.