Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3755

Troubleshooting • Kiosk Mode stops after roughly 6 or 7 hours

$
0
0
Hi everyone. I just bought my first rasberry pi few days ago and I set it up about 2 days ago to work as a little kiosk in my room for some grafana dashboards and prayer times.
I followed this https://www.raspberrypi.com/tutorials/h ... iosk-mode/ tutorial with the help of this video https://www.youtube.com/watch?v=J3gOWauVjwM&t=62s
Every thing is work perfect after a boot but when left running for few hours, the kiosk mode stops and only the desktop is showing.

these are my rasberry pi specs

Code:

Linux kiosk1 6.6.47+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.47-1+rpt1 (2024-09-02) aarch64 GNU/LinuxRaspberry Pi 4 Model B Rev 1.5Debian GNU/Linux 12 (bookworm)gpu=76M
this is my wayfire .ini

Code:

[command]repeatable_binding_volume_up = KEY_VOLUMEUPcommand_volume_up = wfpanelctl volumepulse volurepeatable_binding_volume_down = KEY_VOLUMEDOWNcommand_volume_down = wfpanelctl volumepulse voldbinding_mute = KEY_MUTEcommand_mute = wfpanelctl volumepulse mutebinding_menu = <super>command_menu = wfpanelctl smenu menubinding_terminal = <ctrl> <alt> KEY_Tcommand_terminal = lxterminalbinding_bluetooth = <ctrl> <alt> KEY_Bcommand_bluetooth = wfpanelctl bluetooth menubinding_netman = <ctrl> <alt> KEY_Wcommand_netman = wfpanelctl netman menubinding_grim = KEY_SYSRQcommand_grim = grimbinding_orca = <ctrl> <alt> KEY_SPACEcommand_orca = gui-pkinst orca rebootbinding_quit = <ctrl> <alt> KEY_DELETEcommand_quit = lxde-pi-shutdown-helperbinding_power = KEY_POWERcommand_power = pwrkey[input-device:10-0038 generic ft5x06 (79)]output = DSI-1[input-device:6-0038 generic ft5x06 (79)]output = DSI-1[input-device:4-0038 generic ft5x06 (79)]output = DSI-2[input-device:10-0038 generic ft5x06 (00)]output = DSI-1[input-device:6-0038 generic ft5x06 (00)]output = DSI-1[input-device:4-0038 generic ft5x06 (00)]output = DSI-2[input-device:10-005d Goodix Capacitive TouchScreen]output = DSI-1[input-device:6-005d Goodix Capacitive TouchScreen]output = DSI-1[input-device:4-005d Goodix Capacitive TouchScreen]output = DSI-2[input]xkb_options=xkb_model=pc105xkb_layout=usxkb_variant=alt-intl[autostart]chromium = chromium-browser 'https://www.windy.com/-Weather-radar-radar?radar' 'https://mawaqit.net/en/manzel-louisville-40299-united-states' 'https://time.is/Louisville' 'http://192.168.10.>switchtab = bash ~/switchtab.shscreensaver = falsedpms = falsecursor = /home/pikiosk/hide_cursor.sh
This is the hide_curser script I am using

Code:

sleep 8sudo ydotool mousemove --delay 1000 10000 10000
this the switchtab.sh I am using

Code:

#!/bin/bash# Find Chromium browser process IDchromium_pid=$(pgrep chromium | head -1)# Check if Chromium is runningwhile[[ -z $chromium_pid ]]; do  echo "Chromium browser is not running yet."  sleep 5  chromium_pid=$(pgrep chromium | head -1)doneecho "Chromium browser process ID: $chromium_pid"export XDG_RUNTIME_DIR=/run/user/1000# Loop to send keyboard eventswhile true; do  # Send Ctrl+Tab using `wtype` command  wtype -M ctrl -P Tab  # Send Ctrl+Tab using `wtype` command  wtype -m ctrl -p Tab  sleep 30done
Please can anybody know how I can troubleshoot wht the kiosk mode is stopping?
perhaps chrome is crashing after few hours?
I checked the temp and voltage and they were ok I think
temp= 37~39
volt=0.8x ~ 0.9

Statistics: Posted by Mrtismo — Mon Sep 16, 2024 12:08 am



Viewing all articles
Browse latest Browse all 3755

Trending Articles