Kiosk image for touch panels
Cezeri Flying Car Command Control Panel
TOGG End-to-End Driver Console
Tesla Driver Console
SpaceX Dragon Capsule Command Control Panel
$HOME/.config/openbox/rc.xml
) to better suit kiosk needs.
Todo: Kiosk GCS
DISPLAY
environment variable to determine where to render the display. When connecting via serial
terminal or SSH, this variable must be set manually. Its format is <hostname>:<display server number>.<screen number>
.
If the display server runs locally, the hostname is omitted. Below is an example usage. In most cases, DISPLAY=:0.0
is
common.0
is used.0
is used.$HOME/kiosk.environment
file. The environment variables listed
in this file and their functions are shown in the table below.
Environment Variable | Default Value | Function |
---|---|---|
PATH | $HOME/bin:$PATH | Directories where applications will be searched |
LD_LIBRARY_PATH | /usr/local/qt6:$LD_LIBRARY_PATH | Directories where dynamic libraries (.so) will be searched |
KIOSK_RESOLUTION | 800x600 | Screen resolution |
KIOSK_REFRESH_RATE | 60 | Screen refresh rate |
KIOSK_LOG_PATH | $HOME/kiosk.log | Directory where application stdout and stderr will be logged |
KIOSK_LOG_MAX_SIZE_BYTES | 104857600 | Maximum size of the log file in bytes |
KIOSK_BIN | kiosk | Application to be executed |
$HOME/bin/kiosk
directory by default. To replace or update the application,
send the new application to this directory using scp
as shown below, then restart the Openbox session.
getty@tty1
service. This service automatically logs in the gemstone
user from the terminal
named tty1.gemstone
user, /bin/bash
, is launched.$HOME/.profile
script is executed by the Bash shell. This script contains the startx
command, which launches
Xserver, the display server for X11. If Xserver crashes for any reason, the status is logged in the systemd
journal with the kiosk
tag, and startx
is executed again.$HOME/.xinitrc
script is executed by Xserver. This script contains the exec openbox-session
command, which
launches the Openbox session.$HOME/.config/openbox/autostart
script is executed by Openbox. This script launches the application defined by
the KIOSK_BIN
environment variable. The stdout and stderr outputs of this application are logged to the file
defined by the KIOSK_LOG_PATH
environment variable. If the Kiosk application crashes for any reason, the status is
logged in the systemd journal with the kiosk
tag, and the application is restarted.