Rockchip · AI & Linux Hub

Display & audio

A Raspberry Pi Chromium kiosk starts black on Sige5: where to look first

The browser can be started by double-clicking on the desktop, but the screen is black when the startup task is added.

The common reason is that there is no available graphics session when the program starts. When transplanting the Raspberry Pi information screen, first identify whether the target image uses Wayland or X11, and then determine who is responsible for logging in, opening the browser, and restoring the page.

First display a local page

Prepare a page of local HTML with the site name and current time, launching the browser in the target desktop session. If it can be displayed, it proves that the browser and display path are available. If it fails after switching back to the remote page, you should check the DNS, certificate time or network preparation time.

Avoid relying on fixed delays

If the boot script is set to “wait ten seconds”, it may fail to replace the storage or disconnect the network. Start the browser after letting the session be ready, and prepare a local prompt if the page fails to load. The application runs as a dedicated ordinary user and saves a separate browser configuration directory that can be cleaned.

Taking on-site failure as acceptance scenario

Disconnect the network when booting, then restore the network, and observe whether it automatically returns to the dashboard. Disconnect and reconnect the monitor again to check the window position and full-screen status. Powering on, disconnecting from the network, and changing screens are passed separately to cover three common on-site situations in stores.

View session information on local graphics terminal

printf '%s\n' "$XDG_SESSION_TYPE" "$WAYLAND_DISPLAY" "$DISPLAY"

Board documentation and references

ArmSoM Sige5

Products and development resources

Check the hardware revision, carrier, image and interfaces in the product documentation. An article association is not evidence that a configuration has been tested.

Explore this topic → · Learning paths →