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

grafana 9 sidebar shows when in kiosk=full mode #88

Open
alirezamansoori opened this issue Oct 12, 2022 · 3 comments
Open

grafana 9 sidebar shows when in kiosk=full mode #88

alirezamansoori opened this issue Oct 12, 2022 · 3 comments
Assignees
Labels
bug Something isn't working needs investigation no stalebot exempt from stale bot

Comments

@alirezamansoori
Copy link

Upgrading from version 8 to 9.1.8 when kiosk mode is set to full, the sidebar navigation is showing.

@briangann briangann added bug Something isn't working needs investigation labels Oct 12, 2022
@alirezamansoori
Copy link
Author

I was under the impression that there may be a fix for this with 9.3.x release. It looks like the kiosk=full functionality is still broken.

@briangann briangann added the no stalebot exempt from stale bot label Mar 7, 2023
@briangann
Copy link
Collaborator

i'm not seeing this, but my dashboards are set to auto-fit, do you have the options being passed to the dashboard? and is the dashboard larger than the screen (requires scrolling normally?)

@gaetanars
Copy link
Contributor

gaetanars commented Mar 23, 2023

After investigating, if you set the root url of Grafana, when Grafana redirecting to the home dashboard the kiosk option is not conservated.

./grafana-kiosk --URL=https://play.grafana.org
2023/03/23 07:47:46 URL: https://play.grafana.org
2023/03/23 07:47:46 LoginMethod: anon
2023/03/23 07:47:46 Username: guest
2023/03/23 07:47:46 Password: *redacted*
2023/03/23 07:47:46 IgnoreCertificateErrors: false
2023/03/23 07:47:46 IsPlayList: false
2023/03/23 07:47:46 Fieldname AutoLogin: false
2023/03/23 07:47:46 Fieldname Username: username
2023/03/23 07:47:46 Fieldname Password: password
2023/03/23 07:47:46 DISPLAY= :0
2023/03/23 07:47:46 XAUTHORITY= /run/user/1001/gdm/Xauthority
2023/03/23 07:47:46 method  anon
2023/03/23 07:47:46 Launching ANON login kiosk
2023/03/23 07:47:46 Using temp dir: /tmp/chromedp-kiosk3812388023
2023/03/23 07:47:48 KioskMode: TV
2023/03/23 07:47:48 Navigating to  https://play.grafana.org?kiosk=tv&autofitpanels

But if you set the dashboard url instead of the root url, there is no redirect and the kiosk option is conservated

./grafana-kiosk --URL=https://play.grafana.org/d/000000012/grafana-play-home?orgId=1
2023/03/23 07:51:18 URL: https://play.grafana.org/d/000000012/grafana-play-home?orgId=1
2023/03/23 07:51:18 LoginMethod: anon
2023/03/23 07:51:18 Username: guest
2023/03/23 07:51:18 Password: *redacted*
2023/03/23 07:51:18 IgnoreCertificateErrors: false
2023/03/23 07:51:18 IsPlayList: false
2023/03/23 07:51:18 Fieldname AutoLogin: false
2023/03/23 07:51:18 Fieldname Username: username
2023/03/23 07:51:18 Fieldname Password: password
2023/03/23 07:51:18 DISPLAY= :0
2023/03/23 07:51:18 XAUTHORITY= /run/user/1001/gdm/Xauthority
2023/03/23 07:51:18 method  anon
2023/03/23 07:51:18 Launching ANON login kiosk
2023/03/23 07:51:18 Using temp dir: /tmp/chromedp-kiosk2822323920
2023/03/23 07:51:20 KioskMode: Fullscreen
2023/03/23 07:51:20 Navigating to  https://play.grafana.org/d/000000012/grafana-play-home?kiosk=1&orgId=1&autofitpanels

I have not tested with an authenticated Grafana instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs investigation no stalebot exempt from stale bot
Projects
Status: To do
Development

No branches or pull requests

3 participants