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

Stuck on "waiting for login dialog" #94

Closed
Kyawn88 opened this issue Jan 19, 2023 · 1 comment
Closed

Stuck on "waiting for login dialog" #94

Kyawn88 opened this issue Jan 19, 2023 · 1 comment

Comments

@Kyawn88
Copy link

Kyawn88 commented Jan 19, 2023

I've setup a RaspberryPi to use grafana-kiosk, but whenever I run it the page loads the login prompt and it just sits there indefinitely. The readout just shows "waiting for login prompt".

I'm using a config file with the following settings:

general:
  kiosk-mode: full
  autofit: true

target:
  login-method: gcom
  username: username
  password: password
  URL: https://mygrafanaurl

And the readout I get after running grafana-kiosk is this:

2023/01/19 12:54:07 IsPlayList: false
2023/01/19 12:54:07 Fieldname AutoLogin: false
2023/01/19 12:54:07 Fieldname Username:
2023/01/19 12:54:07 Fieldname Password:
2023/01/19 12:54:07 AutoFit: true
2023/01/19 12:54:07 LXDEEnabled: false
2023/01/19 12:54:07 LXDEHome: /home/pi
2023/01/19 12:54:07 Mode: full
2023/01/19 12:54:07 WindowPosition: 0,0
2023/01/19 12:54:07 URL: https://mygrafanaurl
2023/01/19 12:54:07 LoginMethod: gcom
2023/01/19 12:54:07 Username: username
2023/01/19 12:54:07 Password: *redacted*
2023/01/19 12:54:07 IgnoreCertificateErrors: false
2023/01/19 12:54:07 IsPlayList: false
2023/01/19 12:54:07 Fieldname AutoLogin: false
2023/01/19 12:54:07 Fieldname Username:
2023/01/19 12:54:07 Fieldname Password:
2023/01/19 12:54:07 DISPLAY not set, autosetting to :0.0
2023/01/19 12:54:07 DISPLAY= :0.0
2023/01/19 12:54:07 XAUTHORITY not set, autosetting
2023/01/19 12:54:07 XAUTHORITY= /home/grafanapi/.Xauthority
2023/01/19 12:54:07 method  gcom
2023/01/19 12:54:07 Launching GCOM login kiosk
2023/01/19 12:54:07 Using temp dir: /tmp/chromedp-kiosk630437911
2023/01/19 12:54:12 KioskMode: Fullscreen
2023/01/19 12:54:12 Navigating to  https://mygrafanaurl
2023/01/19 12:54:21 waiting for login dialog

This is what I see on my screen:

image

I don't know if I'm doing something incredibly stupid here.

@Kyawn88
Copy link
Author

Kyawn88 commented Jan 19, 2023

It was indeed me doing something stupid, the login method I was provided to use was incorrect. Modified that and all is working fine! I'll close down the issue.

@Kyawn88 Kyawn88 closed this as completed Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant