Skip to content

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

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions