Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspi OS bookworm not working #119

Closed
yulipumal opened this issue Jan 2, 2024 · 13 comments · Fixed by #122
Closed

Raspi OS bookworm not working #119

yulipumal opened this issue Jan 2, 2024 · 13 comments · Fixed by #122
Assignees
Labels
bug Something isn't working

Comments

@yulipumal
Copy link

Dear community,
the latest OS of Raspis (Bookworm) does not work. The window is now shown at all. Relates to #114.

It seems to be a bug in chromium on the RaspBerry Pi bookworm, when chromium is executed with parameter kiosk. 1, 2 Grafana-Kiosk does exactly this, it executes: chromium --kiosk

Also: Since Raspi buster the login-method local (username and password) does not work anymore for me.

@malmr
Copy link

malmr commented Jan 22, 2024

Unfortunately, i have the same problem. Cannot use grafana-kiosk on a new Raspi OS anymore.

@briangann
Copy link
Collaborator

will take a look and see what can be done (maybe adjust the parameters based on os-release)

I'll load up bookworm on a new pi and see how it behaves. Currently running bullseye and jammy ok.

@briangann
Copy link
Collaborator

Also: Since Raspi buster the login-method local (username and password) does not work anymore for me.

will check buster also, have only verified it is working with bullseye and jammy.

@briangann briangann self-assigned this Jan 22, 2024
@briangann briangann added the bug Something isn't working label Jan 22, 2024
@briangann
Copy link
Collaborator

one item i noticed with rpi4 + bookworm (raspian) was the LXDE process hangs, disabling that option for now an it proceeds, not seeing an error with chromium.

the local login is working for me with 10.3.3 (and earlier)

@yulipumal
Copy link
Author

perfect, already looking forward for the new release!

@malmr
Copy link

malmr commented Apr 18, 2024

Would love to use grafana-kiosk on bookworm again. When will this pull request be released?

@briangann
Copy link
Collaborator

planning to get this released over the weekend, have a couple of new pi's ready for testing running bookworm.

@malmr
Copy link

malmr commented Apr 22, 2024

Thanks for the info!

@abctaylor
Copy link

Hello @briangann thank you for working on this. Is there a release Raspi OS Bookworm users should use yet? Thank you.

@thelukepritchard
Copy link

Hi @briangann great job with this. Is it possible to get it merged? Looks like a concerning bug for those using Bookworm.

@yulipumal
Copy link
Author

Thanks for your work briangann!
Could you please create a new version and a binary release soon? Thank you

@abctaylor
Copy link

To get this working, download the grafana-kiosk.linux.arm64 release. Copy it per the readme on the frontpage to /usr/bin and chmod it with 644.

For the systemd unit, you'll want to make a user service. I found the following config worked for me on a Pi5 running Bookworm:

[Unit]
Description=Grafana Kiosk
Documentation=https://github.com/grafana/grafana-kiosk
After=graphical-session.target

[Service]
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/l-admin/.Xauthority"
Restart=on-failure
ExecStart=/usr/bin/grafana-kiosk -c /etc/grafana-kiosk/config.yaml

[Install]
WantedBy=default.target

Then:

  • systemctl --user daemon-reload
  • systemctl --user enable grafana-kiosk.service
  • systemctl --user start grafana-kiosk

Reboot to test

My config.yaml has all the stuff for logging in, etc. You should be able to get the Chromium program to start from the cli with grafana-kiosk -c /path/to/config.yaml, so if that doesn't work, fix that first.

@tholosi
Copy link

tholosi commented Jun 11, 2024

Hello. Worked for me when I switched from wayland to x11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants