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

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

Open
hriekehof opened this issue Apr 6, 2020 · 7 comments
Open

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

hriekehof opened this issue Apr 6, 2020 · 7 comments
Assignees
Labels
bug Something isn't working needs investigation no stalebot exempt from stale bot question Further information is requested

Comments

@hriekehof
Copy link

hriekehof commented Apr 6, 2020

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 ?

@briangann briangann added the bug Something isn't working label May 16, 2020
@briangann
Copy link
Collaborator

which version of Raspian are you running?

@hriekehof
Copy link
Author

This is the content of the /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"

I use a Raspi 4 Hardware board.

@briangann
Copy link
Collaborator

i'll update one of mine to this version and test, i'm still on stretch on all of mine.

@briangann
Copy link
Collaborator

i have a buster pi now :) will see what is happening differently between stretch and buster.

@briangann briangann added this to To do in grafana-kiosk Jun 29, 2021
@briangann
Copy link
Collaborator

sorry for the delay - does /usr/bin/xset exist, and what user is running the kiosk?

this sounds like a user permission issue.

@briangann briangann added the question Further information is requested label Jun 29, 2021
@SaymonDzen
Copy link

Faced a similar situation on Raspberry 2. It also does not work with the flash card that works on Raspberry 3.
P. S. I naturally replaced the binary file with * arm6

@specialcircumstances
Copy link

I have the same issue, using systemd style startup, if the LXDE option is set the errors are the same for me too. It seems to have started happening recently, and the real resulting problem is that the screensaver no longer disables... :(

@briangann briangann self-assigned this Mar 10, 2022
@github-actions github-actions bot added the stale label Mar 7, 2023
@briangann briangann added no stalebot exempt from stale bot and removed stale labels Mar 7, 2023
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 question Further information is requested
Projects
grafana-kiosk
  
To do
Development

No branches or pull requests

4 participants