Giter VIP home page Giter VIP logo

grafana-kiosk's Introduction

Grafana Kiosk

Build Status Go Report Card Maintainability Test Coverage

A very useful feature of Grafana is the ability to display dashboards and playlists on a large TV.

This provides a utility to quickly standup a kiosk on devices like a Raspberry Pi or NUC.

The utility provides these options:

  • Login
    • to a Grafana server (local account or bypass OAuth)
    • to a Grafana server with anonymous-mode enabled (same method used on play.grafana.org)
    • to a Grafana Cloud instance
    • to a Grafana server with OAuth enabled
    • to an AWS Managed Grafana instance (both with and without MFA)
  • Switch to kiosk or kiosk-tv mode
  • Display the default home page set for the user
  • Display a specified dashboard
  • Start a playlist immediately (inactive mode enable)
  • Can specify where to start kiosk for multiple displays

Additionally, an initialize option is provided to configure LXDE for Raspberry Pi Desktop.

Installing on Linux

Download the zip or tar file from releases

The release file includes pre-built binaries. See table below for the types available.

OS Architecture Description Executable
linux amd64 64bit grafana-kiosk.linux.amd64
linux 386 32bit grafana-kiosk.linux.386
linux arm64 64bit Arm v7 grafana-kiosk.linux.arm64
linux arm ARM v5 grafana-kiosk.linux.armv5
linux arm ARM v6 grafana-kiosk.linux.armv6
linux arm ARM v7 grafana-kiosk.linux.armv7
darwin amd64 64bit grafana-kiosk.darwin.amd64
windows amd64 64bit grafana-kiosk.windows.amd64.exe

Extract the zip or tar file, and copy the appropriate binary to /usr/bin/grafana-kiosk:

# sudo cp -p grafana-kiosk.linux.armv7 /usr/bin/grafana-kiosk
# sudo chmod 755 /usr/bin/grafana-kiosk

Dependencies/Suggestion Packages

This application can run on most operating systems, but for linux some additional binaries are suggested for full support.

Suggesting Packages:

unclutter (for hiding mouse/cursor) rng-tools (for entropy issues)

Usage

NOTE: Flags with parameters should use an "equals" -autofit=true -URL=https://play.grafana.org when used with any boolean flags.

  -URL string
      URL to Grafana server (default "https://play.grafana.org")
  -apikey string
      apikey
  -audience string
      idtoken audience
  -auto-login
      oauth_auto_login is enabled in grafana config
			(set this flag along with the "local" login-method to bypass OAuth via the /login/local url and use a local grafana user/pass before continuing to the target URL)
  -autofit
      Fit panels to screen (default true)
  -c string
      Path to configuration file (config.yaml)
  -field-password string
      Fieldname for the password (default "password")
  -field-username string
      Fieldname for the username (default "username")
  -ignore-certificate-errors
      Ignore SSL/TLS certificate error
  -keyfile string
      idtoken json credentials (default "key.json")
  -kiosk-mode string
      Kiosk Display Mode [full|tv|disabled]
        full = No TOPNAV and No SIDEBAR
        tv = No SIDEBAR
        disabled = omit option
        (default "full")
  -login-method string
      [anon|local|gcom|goauth|idtoken|apikey|aws] (default "anon")
  -lxde
      Initialize LXDE for kiosk mode
  -lxde-home string
      Path to home directory of LXDE user running X Server (default "/home/pi")
  -password string
      password (default "guest")
  -playlists
      URL is a playlist
  -username string
      username (default "guest")
  -use-mfa
      MFA is enabled for given account (default false)
  -window-position string
      Top Left Position of Kiosk (default "0,0")
  -window-size string
      Size of Kiosk in pixels (e.g. "1920,1080")
  -scale-factor string
      Scale factor of Kiosk. This is sort of like zoom. (default: "1")

Using a configuration file

The kiosk can also be started using a configuration file, along with environment variables. When using this option, all other arguments passed are ignored.

general:
  kiosk-mode: full
  autofit: true
  lxde: true
  lxde-home: /home/pi
  scale-factor: 1.0

target:
  login-method: anon
  username: user
  password: changeme
  playlist: false
  URL: https://play.grafana.org
  ignore-certificate-errors: false
grafana-kiosk -c config.yaml

Environment variables can be set and will override the configuration file. They can also be used instead of a configuration file.

  KIOSK_AUTOFIT bool
      fit panels to screen (default "true")
  KIOSK_LXDE_ENABLED bool
      initialize LXDE for kiosk mode (default "false")
  KIOSK_LXDE_HOME string
      path to home directory of LXDE user running X Server (default "/home/pi")
  KIOSK_MODE string
      [full|tv|disabled] (default "full")
  KIOSK_WINDOW_POSITION string
      Top Left Position of Kiosk (default "0,0")
  KIOSK_WINDOW_SIZE string
      Size of Kiosk in pixels (e.g. "1920,1080")
  KIOSK_SCALE_FACTOR string
      Scale factor, like zoom
  KIOSK_IGNORE_CERTIFICATE_ERRORS bool
      Ignore SSL/TLS certificate errors (default "false")
  KIOSK_IS_PLAYLIST bool
      URL is a playlist (default "false")
  KIOSK_LOGIN_METHOD string
      [anon|local|gcom|goauth|idtoken|apikey|aws] (default "anon")
  KIOSK_LOGIN_PASSWORD string
      password (default "guest")
  KIOSK_URL string
      URL to Grafana server (default "https://play.grafana.org")
  KIOSK_LOGIN_USER string
      username (default "guest")
  KIOSK_GOAUTH_AUTO_LOGIN bool
      [false|true]
  KIOSK_GOAUTH_FIELD_USER string
      Username html input name value
  KIOSK_GOAUTH_FIELD_PASSWORD string
      Password html input name value
  KIOSK_IDTOKEN_KEYFILE string
      JSON Credentials for idtoken (default "key.json")
  KIOSK_IDTOKEN_AUDIENCE string
      Audience for idtoken, tpyically your oauth client id
  KIOSK_APIKEY_APIKEY string
      APIKEY Generated in Grafana Server

Hosted Grafana using grafana.com authentication

This will login to a Hosted Grafana instance and take the browser to the default dashboard in fullscreen kiosk mode:

./bin/grafana-kiosk -URL=https://bkgann3.grafana.net -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full

This will login to a Hosted Grafana instance and take the browser to a specific dashboard in tv kiosk mode:

./bin/grafana-kiosk -URL=https://bkgann3.grafana.net/dashboard/db/sensu-summary -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode tv

This will login to a Hosted Grafana instance and take the browser to a playlist in fullscreen kiosk mode, and autofit the panels to fill the display.

./bin/grafana-kiosk -URL=https://bkgann3.grafana.net/playlists/play/1 -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full -playlists -autofit=true

Grafana Server with Local Accounts

This will login to a grafana server that uses local accounts:

./bin/grafana-kiosk -URL=https://localhost:3000 -login-method=local -username=admin -password=admin -kiosk-mode=tv

If you are using a self-signed certificate, you can remove the certificate error with -ignore-certificate-errors

./bin/grafana-kiosk -URL=https://localhost:3000 -login-method=local -username=admin -password=admin -kiosk-mode=tv -ignore-certificate-errors

This will login to a grafana server, configured for AzureAD OAuth and has Oauth_auto_login is enabled, bypassing OAuth and using a manually setup local username and password.

./bin/grafana-kiosk -URL=https://localhost:3000 -login-method=local -username=admin -password=admin -auto-login=true -kiosk-mode=tv

Grafana Server with Anonymous access enabled

This will take the browser to the default dashboard on play.grafana.org in fullscreen kiosk mode (no login needed):

./bin/grafana-kiosk -URL=https://play.grafana.org -login-method=anon -kiosk-mode=tv

This will take the browser to a playlist on play.grafana.org in fullscreen kiosk mode (no login needed):

./bin/grafana-kiosk -URL=https://play.grafana.org/playlists/play/1 -login-method=anon -kiosk-mode=tv

Grafana Server with Api Key

This will take the browser to the default dashboard on play.grafana.org in fullscreen kiosk mode:

./bin/grafana-kiosk -URL=https://play.grafana.org -login-method apikey --apikey "xxxxxxxxxxxxxxx" -kiosk-mode=tv

Grafana Server with Generic Oauth

This will login to a Generic Oauth service, configured on Grafana. Oauth_auto_login is disabeld. As Oauth provider is Keycloak used.

go run pkg/cmd/grafana-kiosk/main.go -URL=https://my.grafana.oauth/playlists/play/1  -login-method=goauth -username=test -password=test

This will login to a Generic Oauth service, configured on Grafana. Oauth_auto_login is disabeld. As Oauth provider is Keycloak used and also the login and password html input name is set.

go run pkg/cmd/grafana-kiosk/main.go -URL=https://my.grafana.oauth/playlists/play/1 -login-method=goauth -username=test -password=test -field-username=username -field-password=password

This will login to a Generic Oauth service, configured on Grafana. Oauth_auto_login is enabled. As Oauth provider is Keycloak used and also the login and password html input name is set.

go run pkg/cmd/grafana-kiosk/main.go -URL=https://my.grafana.oauth/playlists/play/1 -login-method=goauth -username=test -password=test -field-username=username -field-password=password -auto-login=true

Google Idtoken authentication

This allows you to log in through Google Identity Aware Proxy using a service account through injecting authorization headers with bearer tokens into each request. the idtoken library will generate new tokens as needed on expiry, allowing grafana kiosk mode without exposing a fully privileged google user on your kiosk device.

./bin/grafana-kiosk -URL=https://play.grafana.org/playlists/play/1 -login-method=idtoken -keyfile /tmp/foo.json -audience myoauthid.apps.googleusercontent.com

LXDE Options

The -lxde option initializes settings for the desktop.

Actions Performed:

  • sets profile via lxpanel to LXDE
  • sets pcmanfs profile to LXDE
  • runs xset s off to disable screensaver
  • runs xset -dpms to disable power-saving (prevents screen from turning off)
  • runs xset s noblank disables blank mode for screensaver (maybe not needed)
  • runs unclutter to hide the mouse

The -lxde-home option allows you to specify a different $HOME directory where the lxde configuration files can be found.

Automatic Startup

Session-based

LXDE can start the kiosk automatically by creating this file:

Create/edit the file: /home/pi/.config/lxsession/LXDE-pi/autostart

/usr/bin/grafana-kiosk -URL=https://bkgann3.grafana.net/dashboard/db/sensu-summary -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full -lxde

Session with disconnected "screen"

Alternatively you can run grafana-kiosk under screen, which can very useful for debugging.

Create/edit the file: /home/pi/.config/lxsession/LXDE-pi/autostart

screen -d -m bash -c "/usr/bin/grafana-kiosk -URL=https://bkgann3.grafana.net/dashboard/db/sensu-summary -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full -lxde"

Desktop Link

Create/edit the file: /home/pi/.config/autostart/grafana-kiosk.desktop

[Desktop Entry]
Type=Application
Exec=/usr/bin/grafana-kiosk -URL=https://bkgann3.grafana.net/dashboard/db/sensu-summary -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full -lxde

Desktop Link with disconnected "screen"

[Desktop Entry]
Type=Application
Exec=screen -d -m bash -c /usr/bin/grafana-kiosk -URL=https://bkgann3.grafana.net/dashboard/db/sensu-summary -login-method=gcom -username=bkgann -password=abc123 -kiosk-mode=full -lxde

Systemd startup

# sudo touch /etc/systemd/system/grafana-kiosk.service
# sudo chmod 664 /etc/systemd/system/grafana-kiosk.service
[Unit]
Description=Grafana Kiosk
Documentation=https://github.com/grafana/grafana-kiosk
Documentation=https://grafana.com/blog/2019/05/02/grafana-tutorial-how-to-create-kiosks-to-display-dashboards-on-a-tv
After=network.target

[Service]
User=pi
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/pi/.Xauthority"

# Disable screensaver and monitor standby
ExecStartPre=xset s off
ExecStartPre=xset -dpms
ExecStartPre=xset s noblank

ExecStart=/usr/bin/grafana-kiosk -URL=<url> -login-method=local -username=<username> -password=<password> -playlists=true

[Install]
WantedBy=graphical.target

Reload systemd:

# sudo systemctl daemon-reload

Enable, Start, Get Status, and logs:

# sudo systemctl enable grafana-kiosk
# sudo systemctl start grafana-kiosk
# sudo systemctl status grafana-kiosk

Logs:

journalctl -u grafana-kiosk

Troubleshooting

Timeout Launching

2020/08/24 10:18:41 Launching local login kiosk
panic: websocket url timeout reached

Often this is due to lack of entropy, for linux you would need to install rng-tools (or an equivalent).

apt install rng-tools

Building

A Magefile is provided for building the utility, you can install mage by following the instructions at https://magefile.org/

mage -v

This will generate executables in "bin" that can be run on a variety of platforms.

For full build and testing options use:

mage -l

TODO

  • RHEL/CentOS auto-startup
  • Everything in issues!

References

Thanks to our Contributors

Any many others!

grafana-kiosk's People

Contributors

0xunicorn avatar alexheylin avatar briangann avatar friedpope avatar gaetanars avatar geertjohan avatar grexaut avatar jortkoopmans avatar legnoh avatar m-ronchi avatar marcusramberg avatar mistadave avatar penguineer avatar pkarakal avatar profknox avatar roketworks avatar ronansalmon avatar siimjuuse avatar to-s avatar wizardofdevops avatar xanmanning avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grafana-kiosk's Issues

Explanation of LXDE feature

Hi, we're setting up grafana kiosk on a raspberry pi 3, mostly following the blog. I'm confused about the LXDE option as there's no explanation and I'm unfamiliar with it. What can I do with the LXDE option? Can we add this to the documentation?

Local login requires interaction

I'm starting grafana-kiosk with

./grafana-kiosk.linux.amd64 --URL "https://<grafana-url>/playlists/play/2" --login-method local --username "<redacted>" --password "<redacted>" --kiosk-mode disabled --playlist

and see the screen as if I was not logged in. If I proceed to the "Sign In" button in the bottom left of the Grafana UI, I see the login form being filled in with the parameters I have passed in the command above. I am automatically logged in without clicking anything else after "Sign In".

This means, the whole kiosk is not starting without user interaction as I have to proceed to the "Sign In" button after starting. Is there any way to prevent this?

it stopped working ....

hi,

we're using this on a some raspis to display metrics on the wall. two weeks ago, it stopped working.

i have a start script that connects to a VPN, and then does this:

/home/pi/grafana-kiosk/bin/grafana-kiosk.linux.armv7 \
  --URL https://${URL}/playlists/play/1 --playlist \
  --login-method local \
  --username ${USER}  \
  --password ${PASSWORD} \
  --kiosk-mode full \
  --lxde

in the log, it says this:

2019/11/05 16:35:27 Navigating to  https://${URL}/playlists/play/1?kiosk=1&autofitpanels
2019/11/05 16:35:34 ERROR: unhandled page event *page.EventWindowOpen

(with the correct URL)

on the screen, the browser opens, and then loads the grafana login page. however, it then does NOT seem to enter the credentials (this was what i could observe before), but takes me to the online documentation:

https://grafana.com/docs/

grafana: Grafana v6.4.3
chromium: 74.0.3729.157

running on raspbian.

any ideas? could it be that they changed the login process in a way that no longer works with grafana-kiosk?

unclutter initialization error

During initialization, the unclutter command is looking for an arg for the -display variable which is not provided. unclutter ends in an error though it still seems to work.

Kevin

--lxde not Working with Raspi 4 in autostart session mode

Hi,

the tool works really great 👍 However, i currently have a small problem with a Rapsi 4. When i run this command from the command line in the Raspi Desktop /usr/bin/grafana-kiosk --URL ${dashboard} --login-method local --username xxx --password xxx --kiosk-mode full --lxde
The Kiosk starts fine without any problems. The command line output looks like this:

2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/lxpanel
2020/03/26 14:19:30 arg0: --profile
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 Command finished with error: exit status 1
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/pcmanfm
2020/03/26 14:19:30 arg0: --desktop
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/xset
2020/03/26 14:19:30 arg0: --desktop
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/xset
2020/03/26 14:19:30 arg0: s
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/xset
2020/03/26 14:19:30 arg0: -dpms
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/xset
2020/03/26 14:19:30 arg0: s
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:30 DISPLAY not set, autosetting to :0.0
2020/03/26 14:19:30 DISPLAY= :0.0
2020/03/26 14:19:30 XAUTHORITY not set, autosetting
2020/03/26 14:19:30 XAUTHORITY= /home/pi/.Xauthority
2020/03/26 14:19:30 Launching local login kiosk
2020/03/26 14:19:30 path: /home/pi
2020/03/26 14:19:30 command: /usr/bin/unclutter
2020/03/26 14:19:30 arg0: -display
2020/03/26 14:19:30 Waiting for command to finish...
2020/03/26 14:19:35 Command finished with error: exit status 1
2020/03/26 14:19:35 KioskMode: Fullscreen
2020/03/26 14:19:35 Navigating to  http://grafana.docker.schoeps.local/d/DGlkbBXWz/fertigung-kapsel?kiosk=1&autofitpanels

When i use the same command in the autostart file in the .config/lxsession/LXDE-pi/autostart and reboot. The Dashboard does not startup. I just see a very small black desktop.
Without the --lxde option everything works fine but than the screensaver turns on at a certain point.
When i'm than running the same command in the lxde desktop the command line output looks like this.

2020/03/26 14:04:42 path: /home/pi
2020/03/26 14:04:42 command: /usr/bin/lxpanel
2020/03/26 14:04:42 arg0: --profile
2020/03/26 14:04:42 Waiting for command to finish...
2020/03/26 14:04:42 Command finished with error: exit status 1
2020/03/26 14:04:42 path: /home/pi
2020/03/26 14:04:42 command: /usr/bin/pcmanfm
2020/03/26 14:04:42 arg0: --desktop
2020/03/26 14:04:42 Waiting for command to finish...

I use the grafana-kiosk.linux.armv7 binary on a raspi 4. Maybe this helps.

Grafana shares links, hides left side, header navigation, especially how to display query criteria

What happened:
When I embedded links to the Grafana Share Dashboard in other projects, I used the parameter &kiosk to hide the left, header navigation and also the query criteria.

What you expected to happen:
After hiding the left and head navigation, the query condition should be displayed, what should I do?

now:
a

expected:
b

Environment:
Grafana version: Grafana v8.0.3
Data source type & version: prometheus
OS Grafana is installed on: Linux
User OS & Browser: Linux & Chrome

Request for option to pass resolution parameters to chromium

Hi. I would like to run this without a window manager (on a RPI4).

Generally, it works well, however, Chromium does not recognize the screen size correctly.

from my understanding a flag can be passed to it , for example : -window-size=1280,1024

Microsoft Edge support.

Hi!

Thank you for this program first place!

I have a question that is it possible to change google chrome, to the new chromium edge ?

Thank you!

Kiosk with OAuth2

I know it's already on the TODO list.
But I wonder if there is a way to use the kiosk at the moment if you already use OAuth2.

  • Is there any progress with OAuth2 yet?
  • Is there a HowTo for using the Kiosk if you already use OAuth2?

Best regards
Kai

kiosk local login broken

Grafana: 6.4.1
grafana-kiosk: amd64 (latest binary grafana-kiosk.linux.amd64)
method: local

When using grafana-kiosk with the most recent version of grafana v6.4.1, with a local login method, it does not achieve successful login. Chrome ends up on the 'login/reset password' page (grafanarootURL/user/password/send-reset-email).

What I think is happening sequentially;

  • The 'email or username' field is skipped
  • The 'password' field is filled with something (probably the password?)
  • The 'Forgot your password?' is clicked

I looked briefly at the code and inspected the form, I'm guessing that the name change field of the 'email or username' field might have to do something with it. I think historically it was 'username' but now it is 'user'.

Grafana Kiosk not working with Chromium 98.0.4758

Hello.
I am the only one not able to launch Grafana kiosk after the Chromium update?
I am on Raspbian Bullseye, and launching kiost ends in a black screen and stuck on Launching status

pi@displejpi:~ $ /usr/bin/grafana-kiosk --URL https://play.grafana.org/playlists/play/1 --login-method anon --kiosk-mode full
2022/02/24 17:58:46 No config specified, using environment and args
2022/02/24 17:58:46 AutoFit: true
2022/02/24 17:58:46 LXDEEnabled: false
2022/02/24 17:58:46 LXDEHome: /home/pi
2022/02/24 17:58:46 Mode: full
2022/02/24 17:58:46 WindowPosition: 0,0
2022/02/24 17:58:46 URL: https://play.grafana.org/playlists/play/1
2022/02/24 17:58:46 LoginMethod: anon
2022/02/24 17:58:46 Username: guest
2022/02/24 17:58:46 Password: redacted
2022/02/24 17:58:46 IgnoreCertificateErrors: false
2022/02/24 17:58:46 IsPlayList: false
2022/02/24 17:58:46 Fieldname Username: false
2022/02/24 17:58:46 Fieldname Username: username
2022/02/24 17:58:46 Fieldname Password: password
2022/02/24 17:58:46 AutoFit: true
2022/02/24 17:58:46 LXDEEnabled: false
2022/02/24 17:58:46 LXDEHome: /home/pi
2022/02/24 17:58:46 Mode: full
2022/02/24 17:58:46 WindowPosition: 0,0
2022/02/24 17:58:46 URL: https://play.grafana.org/playlists/play/1
2022/02/24 17:58:46 LoginMethod: anon
2022/02/24 17:58:46 Username: guest
2022/02/24 17:58:46 Password: redacted
2022/02/24 17:58:46 IgnoreCertificateErrors: false
2022/02/24 17:58:46 IsPlayList: false
2022/02/24 17:58:46 Fieldname Username: false
2022/02/24 17:58:46 Fieldname Username: username
2022/02/24 17:58:46 Fieldname Password: password
2022/02/24 17:58:46 DISPLAY not set, autosetting to :0.0
2022/02/24 17:58:46 DISPLAY= :0.0
2022/02/24 17:58:46 XAUTHORITY not set, autosetting
2022/02/24 17:58:46 XAUTHORITY= /home/pi/.Xauthority
2022/02/24 17:58:46 method anon
2022/02/24 17:58:46 Launching ANON login kiosk

AWS Managed Grafana login support

Hi,

I would like to request for AWS Managed Grafana login support. I have tried -login-method goauth but it doesn't work.

grafana-kiosk --URL https://g-xxxxxxxx.grafana-workspace.ap-southeast-1.amazonaws.com/playlists/play/3 --login-method goauth --username xxxxxx --password xxxxxx --auto-login true --kiosk-mode full

Thank you!

image

White Screen Raspberry Pi

Hello, I am running Pi version 8 with everything up-to-date. When I try to run grafana-kiosk, I get a white screen. Here 's what I run:

./grafana-kiosk/bin/grafana-kiosk.linux.armv7 --URL https://play.grafana.org/playlists/play/1 --login-method anon --kiosk-mode full --lxde

I've tried it with and without the --lxde parameter.

My Pi shows a white screen and that is it. I've tested this command on a mac and it works without issue using the mac version of grafana-kiosk.

Here is what I see on the command line after running the command

pi@mpdash:~ $ ./grafana-kiosk/bin/grafana-kiosk.linux.armv7 --URL https://play.grafana.org/playlists/play/1 --login-method anon --kiosk-mode full --lxde
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/lxpanel
2019/09/13 14:28:50 arg0: --profile
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 Command finished with error: exit status 1
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/pcmanfm
2019/09/13 14:28:50 arg0: --desktop
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/xset
2019/09/13 14:28:50 arg0: --desktop
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/xset
2019/09/13 14:28:50 arg0: s
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/xset
2019/09/13 14:28:50 arg0: -dpms
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/xset
2019/09/13 14:28:50 arg0: s
2019/09/13 14:28:50 Waiting for command to finish...
2019/09/13 14:28:50 DISPLAY not set, autosetting to :0.0
2019/09/13 14:28:50 DISPLAY= :0.0
2019/09/13 14:28:50 XAUTHORITY not set, autosetting
2019/09/13 14:28:50 path: /home/pi
2019/09/13 14:28:50 command: /usr/bin/unclutter
2019/09/13 14:28:50 arg0: -display
2019/09/13 14:28:50 XAUTHORITY= /home/pi/.Xauthority
2019/09/13 14:28:50 Launching ANON login kiosk
2019/09/13 14:28:50 Waiting for command to finish...

Any ideas?
Thanks,
Larry

gcom login method stopped working recently with hosted Grafana and release v1.0.2

Hi, never submitted an issue via Github before so hopefully I am doing so correctly. Let me know if I need to correct anything or provide additional information. I am copy/pasting the info below from my post on Grafana.com community since the template there requests quite a bit of information.

What Grafana version and what operating system are you using?
Hosted Grafana v8.0.3, grafana-kiosk v1.0.2
Used on both Raspbian and Ubuntu 20.04.2 LTS

What are you trying to achieve?
Use grafana-kiosk to display a dashboard on Hosted Grafana using gcom login method

How are you trying to achieve it?
Running grafana-kiosk with -c parameter, specifying gcom login method, grafana username, password, and dashboard url

What happened?
Used to work, stopped working a couple of weeks ago. It will launch the browser and display the login page - with the button that says “Sign in with Grafana.com” but will not proceed beyond this point

What did you expect to happen?
I expected it to proceed to the sign in page which asks for username and password, perform the login, and display the dashboard

Can you copy/paste the configuration(s) that you are having problems with?
If needed I can provide screenshots or config snippets

Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
No

Did you follow any online instructions? If so, what is the URL?
GitHub - grafana/grafana-kiosk: Kiosk Utility for Grafana

I have searched for any other reports of this stopping working recently but haven’t been able to find anything.

I am not a professional programmer but looking in the grafana_com_login.go file, it looks like it is searching for an href with value login/grafana_com to find the login button, and looking at the sign in page I get when navigating to the dashboard URL in an incognito window, I don't think that search criteria is valid any longer. I could be wrong though. But console output stops at the line Navigating to -- no errors, simply doesn't proceed. I'm guessing it is just waiting for the href that will never load. I suppose at some point that wait would time out, causing an error, but I haven't waited that long to see.

Let me know if I can provide any other useful information. Would be lovely to get my kiosk working again! Thanks.

Portrait Mode

Is there a config.yaml option to set for Portrait vs landscape?

Retry sign in when Grafana restarts

I have been seeing issues when running a single Grafana instance and signing in with basic auth. Signing in will work fine, but when the instance is restarted grafana-kiosk will be kicked back to the sign in page, but it will not try to sign in. The solution right now is to restart grafana-kiosk, but I feel like there may be a simpler solution to this problem.

enable screensaver?

What can be done to ENABLE screensaver, or screen blanking? i am using an amoled display and am naturally worried about burn-in...

xset seems not to work on Raspi 4 and autostart via Service

Hi there,

i also encounter another problem with the kiosk when i start it as a service via systemd.
The output of journalctl -u grafana-kiosk show the following in raspi 4.

pi@inforasp1:~/infoscreens.git $ journalctl -u grafana-kiosk
-- Logs begin at Mon 2020-04-06 11:17:01 CEST, end at Mon 2020-04-06 12:10:43 CEST. --
Apr 06 12:09:46 inforasp1 systemd[1]: Started Grafana Kiosk.
Apr 06 12:09:46 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:46 path: /home/pi
Apr 06 12:09:46 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:46 command: /usr/bin/lxpanel
Apr 06 12:09:46 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:46 arg0: --profile
Apr 06 12:09:46 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:46 Waiting for command to finish...
Apr 06 12:09:48 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:48 Command finished with error: exit status 1
Apr 06 12:09:48 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:48 path: /home/pi
Apr 06 12:09:48 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:48 command: /usr/bin/pcmanfm
Apr 06 12:09:48 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:48 arg0: --desktop
Apr 06 12:09:48 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:48 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 path: /home/pi
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 command: /usr/bin/xset
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 arg0: --desktop
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 path: /home/pi
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 command: /usr/bin/xset
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 arg0: s
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 path: /home/pi
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 command: /usr/bin/xset
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 arg0: -dpms
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 path: /home/pi
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 command: /usr/bin/xset
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 arg0: s
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 DISPLAY= :0
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 XAUTHORITY= /home/pi/.Xauthority
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Launching local login kiosk
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 path: /home/pi
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 command: /usr/bin/unclutter
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 arg0: -display
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Waiting for command to finish...
Apr 06 12:09:49 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:49 Command finished with error: exit status 1
Apr 06 12:09:56 inforasp1 grafana-kiosk[557]: 2020/04/06 12:09:56 KioskMode: Fullscreen

It seems that all xset commands fail. What happens than is that the screensaver turns on after a certain time.
When i then disable the service and re enable it i get the following output

-- Logs begin at Thu 2019-02-14 11:11:59 CET, end at Mon 2020-04-06 12:27:17 CEST. --
Apr 06 12:27:17 inforasp1 systemd[1]: Started Grafana Kiosk.
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 path: /home/pi
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 command: /usr/bin/lxpanel
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 arg0: --profile
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 Waiting for command to finish...
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 Command finished with error: exit status 1
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 path: /home/pi
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 command: /usr/bin/pcmanfm
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 arg0: --desktop
Apr 06 12:27:17 inforasp1 grafana-kiosk[1100]: 2020/04/06 12:27:17 Waiting for command to finish...

At this point the Dashboard does not start at all.
Does someone else experience this problems too ?

Chromium update issue, can I use another browser?

Hello,

the grafana-kiosk doesn't work with a newer version of chromium then 78.0.xxx, maybe someone have a solution?

Is possible to use some another browser? If yes, please how I can change it?

Many thanks.

Any plans of using ApiKeys ?

I see there is an option to pass a bearer token directly in the header.

Wouldn't that be an option for grafana-kiosk ?

screencapture-grafana-modulotech-fr-org-apikeys-2020-04-18-17_08_38

screencapture-grafana-modulotech-fr-org-apikeys-2020-04-18-17_09_56

kiosk=tv mode hides the dashboard submenu

Hi, I was expecting the kiosk=tv mode to only hide the sidemenu/sidebar. When using the kiosk=tv mode the content of Dashboard submenu is also disappearing.

-kiosk-mode string
Kiosk Display Mode [full|tv|disabled]
full = No TOPNAV and No SIDEBAR
tv = No SIDEBAR

Thank you

Allow multiple URLs

Hello,
This kiosk binary look really nice to use, however I have two different dashboards located in two different locations and I have no way to display them both except to have an external script running the command one after the other, calculating playlist play time.
Could you please provide a way to set several URLs, looping on each URL once a playlist did a full run ?

auto playlist navigation not working in armv7 and amd64

I have tried release 1.0.1 and used the armv7 and amd64 binary packages in a Tinker board running in Tinker OS (debian) and Linux Mint respectively. The following Behaviour were observed:

  • Both the armv7 and amd64 binary files fills the fields in the login page of the grafana instance i am connecting to, thus auto login is working.
  • But after logging in it should redirect to the playlist, but instead it stays in the grafana main page . I have to manually click on the start playlist after navigating to the playlist page to start it.
    Here is the command that i am running and the outputs:
$ ./grafana-kiosk.linux.armv7 --URL https://insight.desec.io/grafana/playlists/play/1 --login-method local --username $uname --password $password --playlist
2020/04/16 11:15:18 playlist
2020/04/16 11:15:18 DISPLAY not set, autosetting to :0.0
2020/04/16 11:15:18 DISPLAY= :0.0
2020/04/16 11:15:18 XAUTHORITY not set, autosetting
2020/04/16 11:15:18 XAUTHORITY= /home/linaro/.Xauthority
2020/04/16 11:15:18 Launching local login kiosk
2020/04/16 11:15:20 KioskMode: Fullscreen
2020/04/16 11:15:20 Navigating to  https://insight.desec.io/grafana/playlists/play/1?inactive=1&kiosk=1&autofitpanels

Add a way to use --window-position

I'm using a RPI 4 with its dual display outputs and would like to run the program twice to display a separate dashboard on each monitor.

Windows timeout to websocket Chrome to short

Hello,

We are using rather slow Celeron Intel nucs for our Grafana screens. Sometimes, the startup is to slow and grafana-kiosk stops with an error. It would be great if this timeout could be extended or settable.

C:\xxxx\GrafanaKiosk>C:\xxxx\GrafanaKiosk\grafana-kiosk.windows.amd64.exe -c C:\xxxx\GrafanaKiosk\config.yaml
2020/08/24 10:18:40 Using config from C:\temp\GrafanaKiosk\config.yaml
2020/08/24 10:18:41 AutoFit: true
2020/08/24 10:18:41 LXDEEnabled: false
2020/08/24 10:18:41 LXDEHome: /home/pi
2020/08/24 10:18:41 Mode: full
2020/08/24 10:18:41 URL: https://grafana.xxxx.xxxx/playlists/play/9?kiosk
2020/08/24 10:18:41 LoginMethod: local
2020/08/24 10:18:41 Username: xxxx
2020/08/24 10:18:41 Password: *redacted*
2020/08/24 10:18:41 IgnoreCertificateErrors: false
2020/08/24 10:18:41 IsPlayList: true
2020/08/24 10:18:41 AutoFit: true
2020/08/24 10:18:41 LXDEEnabled: false
2020/08/24 10:18:41 LXDEHome: /home/pi
2020/08/24 10:18:41 Mode: full
2020/08/24 10:18:41 URL: https://grafana.xxxx.xxxx/playlists/play/9?kiosk
2020/08/24 10:18:41 LoginMethod: local
2020/08/24 10:18:41 Username: xxxx
2020/08/24 10:18:41 Password: *redacted*
2020/08/24 10:18:41 IgnoreCertificateErrors: false
2020/08/24 10:18:41 IsPlayList: true
2020/08/24 10:18:41 DISPLAY not set, autosetting to :0.0
2020/08/24 10:18:41 DISPLAY= :0.0
2020/08/24 10:18:41 XAUTHORITY not set, autosetting
2020/08/24 10:18:41 XAUTHORITY= /.Xauthority
2020/08/24 10:18:41 method  local
2020/08/24 10:18:41 Launching local login kiosk
panic: websocket url timeout reached

goroutine 1 [running]:
github.com/grafana/grafana-kiosk/pkg/kiosk.GrafanaKioskLocal(0xc0000c3490)
        /go/src/github.com/grafana/grafana-kiosk/pkg/kiosk/local_login.go:49 +0xc24
main.main()
        /go/src/github.com/grafana/grafana-kiosk/pkg/cmd/grafana-kiosk/main.go:153 +0x35e

Kind regards,
Bastiaan van Haastrecht

Return to main dashboard when idle

I just tried your solution on raspbian (buster) and It works perfectly, the only thing I am missing is return to main dashboard when iddle, as my dashboard is on interactive screen. I was trying to fix it by installing chromium plug-in but it didn't helped. Any ideas for walkaround? Or feature maybe?

/usr/bin/grafana-kiosk: command not found

I'm using a Raspberry Pi 3b and Grafana v6.6.1. and trying to run your grafana-kiosk tool.
But I get the error Message:
pi@raspberrypi:~ $ sudo /usr/bin/grafana-kiosk --URL https://localhost:3000 --login-method local --username admin --password ** --kiosk-mode tv

sudo: /usr/bin/grafana-kiosk: Befehl nicht gefunden

Befehl nicht gefunden = command not found

I downloade the .zip from "releases", extract grafana-kiosk.linux.armv7 to /usr/bin/ and renamed it to grafana-kiosk. Like you deskrip it in the manual. But runing the comand gets me the Err.
What am I doing wrong ?

Flowcharting doesn't show

When starting a playlist with two dashboards, one with normal graphs and one with a flowchart floorpan. the flowchart stays like a white screen.

Grafana version 7.1.5, using the Grafana-kios v1.0.2

2 kiosk on 2 monitors?

I decided to give up raspberries because she stopped coping with our boards and took a more powerful computer and connected two monitors with different boards to it. But I can't figure out how to run the third instance on another screen. In ubuntu 20.04, both monitors display: 0
Please help!

Chromium update pop-up

Any recommendation for an argument that disables Chromium Update ( failed update) check? I tried adding
chromium-browser --check-for-update-interval=1 --simulate-critical-update
can help stop the pop-up.
Tried adding arguments on usr/bin/grafana-kiosk command line but no luck

"undefined: kiosk.Config" during build

Using the latest commit I am receiving the following when running make:

$ make
Building grafana-kiosk
GO111MODULE=on GOOS=darwin GOARCH=amd64 go build -o bin/grafana-kiosk.darwin pkg/cmd/grafana-kiosk/main.go
# command-line-arguments
pkg/cmd/grafana-kiosk/main.go:84:19: undefined: kiosk.Config
pkg/cmd/grafana-kiosk/main.go:100:10: undefined: kiosk.Config
Makefile:8: recipe for target 'dev' failed
make: *** [dev] Error 2

It looks like the kiosk.Config object isn't created. I tried renaming this to "Args" to take advantage of the custom type at the top of main.go, but that didn't work either. I've not really used the cleanenv library before, or even Go for that matter. I'm probably just missing a step somewhere.

--playlist should be --playlists

In the Usage section, there is an option for --playlist. However, the --help flag of the program shows --playlists.

  -playlists
        URL is a playlist

Can you correct this in the documentation?

Not pressing "Log in" for local auth

What I expect to happen: I run /usr/bin/grafana-kiosk -c /home/pi/grafana-kiosk/grafana-kiosk-config.yaml and grafana-kiosk opens chromium and logs into my instance of grafana.

What happens: Chromium loads as fullscreen as expected, it loads my grafana login page, and then enters the login and password. But it does not log in

System: Raspberry Pi Zero 1.1 running latest Raspberry Pi OS Lite, Openbox
Grafana version: grafana/grafana:8.3.4 - deployed via kube-prometheus
config:

general:
  kiosk-mode: full
  autofit: true
  lxde: false

target:
  login-method: local
  username: mygrafanaadmin
  password: changeme
  playlist: false
  URL: https://user:[email protected]
  ignore-certificate-errors: false

My instance of grafana is behind a basic htpasswd ingress + it does local login. Not sure if that's relevant, but I've recreated this issue with and without it.

Let me know any other information I can provide

Gauge text scaling is broken

image

Like you see in the picture above, the text scaling on gauges is broken, so the value text overflows into the gauge graphic instead of scaling down

Support for Firefox

Hi,

I'm using openSUSE/SLES as OS on top of RPI 3b+. It is impossible to get Chromium up and running due to all its dependencies.

Firefox is installed by default. Can you provide for Firefox as well?

Rasberry Pi 4 Model b won't play/change dashboards

My Playlist is stuck on the first screen. Below is my config. It logs in properly and shows the first dashboard but it never moves on to the next one.

general:
  kiosk-mode: tv
  autofit: true
  lxde: true
  lxde-home: /home/pi

target:
  login-method: local
  username: ****
  password: ***

  playlist: true
  URL: https://*****:3000/d/UcQvlA_Wz
  ignore-certificate-errors: true

goauth:
  auto-login: false
  fieldname-username: username
  fieldname-password: password

Disable SSL verification

I think it would be useful to have to possibility to disable SSL verification using an argument like --disable-ssl-verification for on-premise Grafana installations.

autostart kiosk on startup

What is the recommended way to autostart grafana-kiosk? If it's systemd can we add a template service file to the repo? I've tried setting it up with the following:

[Unit]
Description=Grafana Kiosk

[Service]
User=pi
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/pi/.Xauthority"
ExecStart=/usr/bin/grafana-kiosk --URL <url>  -login-method local -username <username> -password <password> -playlist true

[Install]
WantedBy=graphical.target

This works, except that in the UI chrome complains with a big banner: You are using an unsupported command-line flag: --no-sandbox. Stability and security will suffer. This doesn't come up when I run the same grafana-kiosk command just in command line via ssh.
The blog post was semi helpful, but it is kinda frustrating that it doesn't include how to do the full setup and just ignores the fact that you'd want this to be autostarted

EDIT: the chrome issue is because the service was running as root. I edited it to specify to run the service as the user pi and it works now. Can we add this service file to the repo?

V1.0.3 fail to start

I'm running grafana-kiosk on a Raspberry pi 4 .

Running the tool will produce this error :

root@agent:/home/thib3113# ./grafana-kiosk.linux.armv6 -c /home/pi/grafana/config.yml
2021/06/29 11:18:07 Using config from /home/pi/grafana/config.yml
2021/06/29 11:18:07 AutoFit: true
2021/06/29 11:18:07 LXDEEnabled: false
2021/06/29 11:18:07 LXDEHome: /home/pi
2021/06/29 11:18:07 Mode: disabled
2021/06/29 11:18:07 WindowPosition: 0,0
2021/06/29 11:18:07 URL: https://********/playlists/play/1
2021/06/29 11:18:07 LoginMethod: local
2021/06/29 11:18:07 Username: **********
2021/06/29 11:18:07 Password: **********
2021/06/29 11:18:07 IgnoreCertificateErrors: false
2021/06/29 11:18:07 IsPlayList: true
2021/06/29 11:18:07 Fieldname Username: false
2021/06/29 11:18:07 Fieldname Username:
2021/06/29 11:18:07 Fieldname Password:
2021/06/29 11:18:07 AutoFit: true
2021/06/29 11:18:07 LXDEEnabled: false
2021/06/29 11:18:07 LXDEHome: /home/pi
2021/06/29 11:18:07 Mode: disabled
2021/06/29 11:18:07 WindowPosition: 0,0
2021/06/29 11:18:07 URL: https://********/playlists/play/1
2021/06/29 11:18:07 LoginMethod: local
2021/06/29 11:18:07 Username: raspberrypi
2021/06/29 11:18:07 Password: *redacted*
2021/06/29 11:18:07 IgnoreCertificateErrors: false
2021/06/29 11:18:07 IsPlayList: true
2021/06/29 11:18:07 Fieldname Username: false
2021/06/29 11:18:07 Fieldname Username:
2021/06/29 11:18:07 Fieldname Password:
2021/06/29 11:18:07 DISPLAY not set, autosetting to :0.0
2021/06/29 11:18:07 DISPLAY= :0.0
2021/06/29 11:18:07 XAUTHORITY not set, autosetting
2021/06/29 11:18:07 XAUTHORITY= /root/.Xauthority
2021/06/29 11:18:07 method  local
2021/06/29 11:18:07 Launching local login kiosk
panic: invalid exec pool flag

goroutine 1 [running]:
github.com/grafana/grafana-kiosk/pkg/kiosk.GrafanaKioskLocal(0x15226c0)
        /go/src/github.com/grafana/grafana-kiosk/pkg/kiosk/local_login.go:50 +0x9cc
main.main()
        /go/src/github.com/grafana/grafana-kiosk/pkg/cmd/grafana-kiosk/main.go:171 +0x2c8

I'm using the same configuration for the 1.0.2 and it works ( I tryed .armv6 / armv7 and same error )

Raspberry Pi (4) make fails to build

when running make:

flag provided but not defined: -trimpath
usage: go build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
make: *** [Makefile:20: grafana-kiosk] Error 2 

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.