-
Notifications
You must be signed in to change notification settings - Fork 57
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
--lxde not Working with Raspi 4 in autostart session mode #28
Comments
Also, great job on the tool.. Similar experience as above, but on latest Raspbian on a Rasp Pi 2 Model B.. Using it with the 7" Touchscreen display. I'm wondering if this has something to do with the |
I've gotten around this issue for myself by putting the following contents in the
I was able to verify the screensaver / power saving settings via an ssh session by running: xset -display 0:0 q ... and taking a look at the Screen Saver and DPMS (Energy Star) sections. One interesting note is that I originally had a call to
It appears that something is already launching |
@thirdgen88 thanks so much. The different autostart does the trick for me. |
i'll have to get a raspberry 4, seems like there's multiple issues (might be 64-bit related) |
just checking - are you running 32bit or 64bit on your pi4? |
Same issue on a pi 3B running 32 bit raspbain. If lxde is enabled the browser window never starts. |
my pi3 isn't doing this:
do you have an example startup command? i'm using the config/yaml option. my new pi4 was hit by a power surge/lightning, will have to get a new one. |
pi@pi-kiosk:~ $ uname -a
Linux pi-kiosk 5.10.60-v7+ #1449 SMP Wed Aug 25 15:00:01 BST 2021 armv7l GNU/Linux
pi@pi-kiosk:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
pi@pi-kiosk:~ $ cat /home/pi/.config/lxsession/LXDE-pi/autostart
@xset s off
@xset -dpms
@xset s noblank
@/usr/bin/grafana-kiosk -c=/home/pi/config.yaml
pi@pi-kiosk:~ $ cat /home/pi/config.yaml
general:
kiosk-mode: full
autofit: false
# lxde: true
# lxde-home: /home/pi
target:
login-method: local
username: administrator
password: hunter2
playlists: true
URL: https://foobar.com/playlists/play/1
ignore-certificate-errors: false
If I uncomment the lxde settings in the config, it will no longer work. |
I've had the same issue with a Raspberry Pi 2 and ended up fixing it with the changes in #91, tho I guess that the panels are initiated by the lxde autostart. Earlier tests also hinted that JWM might be a better choice for a window manager that is basically not used. |
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:
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.
I use the
grafana-kiosk.linux.armv7
binary on a raspi 4. Maybe this helps.The text was updated successfully, but these errors were encountered: