Setting up a browser in kiosk mode at startup#
To set up the device to start chromium in kiosk mode, a systemd service is already provided.
The following steps are required in a terminal on target.
To connect to a terminal, use either
serial uart debug port, 115200 baud rate or
ssh within the local network
username:
root
passord:
<empty>
IP address is displayed in:
settings -> info
on the display
Change URL to be displayed#
Edit the file /lib/systemd/system/chromium-kiosk.service and replace
Environment="WEBSITE=www.demmel.com"
with
Environment="WEBSITE=<YOUR_WEBSITE>"
e.g. by using following command on the target:
nano /lib/systemd/system/chromium-kiosk.service
Start chromium-kiosk service#
To start the service, enter
systemctl start chromium-kiosk.service
Enable chromium-kiosk at boot-up#
To enable automatic start-up of the service, enter
systemctl enable chromium-kiosk.service
Optional: Disable iLCD services#
If not required, the iLCD services can be disabled by
systemctl disable iLCDsettings.service
systemctl disable iLCDcompositor.service
Additional information regarding systctl#
Start a service:
systemctl start <Service>
Stopp a service:
systemctl stop <Service>
Show the status of a service:
systemctl status <Service>
Enable starting a service at boot-up:
systemctl enable <Service>
Disbale starting a service at boot-up:
systemctl disable <Service>
Additional information regarding systemctl can be found at