Skip to content

Auto-Start & Kiosk Mode

Run OpenFlight as a systemd service so it comes up on boot, and drive the display in fullscreen kiosk mode.

Auto-start on boot

The setup script installs and enables a systemd service configured for your username and install path.

Manual steps and service management
# Install (adjust User= and paths in the file if your username isn't the default)
sudo cp ~/openflight/scripts/setup/openflight.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable openflight
sudo systemctl start openflight
Management:
sudo systemctl status openflight --no-pager   # Check status
journalctl -u openflight -f                   # View logs
sudo systemctl stop openflight                # Stop
sudo systemctl restart openflight             # Restart
sudo systemctl disable openflight             # Disable auto-start
To modify the service:
sudo nano /etc/systemd/system/openflight.service
sudo systemctl daemon-reload
sudo systemctl restart openflight
./scripts/start-kiosk.sh        # Default: rolling buffer + sound trigger
./scripts/start-kiosk.sh --mock # Mock mode (no hardware needed)

Use the IWR6843 Operator Guide or Legacy K-LD7 Setup for angle-radar startup commands.

Manual start

openflight-server                # With radar
openflight-server --mock         # No hardware

Then open http://localhost:8080.

Running over SSH

DISPLAY=:0 ./scripts/start-kiosk.sh