Skip to content

Problems with the script on new Pi5 #12

@blacknell

Description

@blacknell

I've got Pi5 with the new display and I'm having the following problems and would appreciate some pointers.

unclutter -idle 0.1 -root yields unclutter: could not open display

Starting the service yields

Nov 27 15:44:14 raspberrypi systemd[1]: Started kiosk.service - Kiosk.
Nov 27 15:44:22 raspberrypi bash[2699]: Hiding the mouse cursor...
Nov 27 15:44:22 raspberrypi bash[2699]: Starting Chromium...
Nov 27 15:44:22 raspberrypi bash[2701]: unclutter: could not open display
Nov 27 15:44:22 raspberrypi bash[2702]: [2702:2702:1127/154422.895170:ERROR:ozone_platform_x11.cc(244)] Missing X server or $DISPLAY
Nov 27 15:44:22 raspberrypi bash[2702]: [2702:2702:1127/154422.895221:ERROR:env.cc(258)] The platform failed to initialize.  Exiting.
Nov 27 15:44:22 raspberrypi systemd[1]: kiosk.service: Main process exited, code=exited, status=1/FAILURE
Nov 27 15:44:22 raspberrypi systemd[1]: kiosk.service: Failed with result 'exit-code'.

I'm wondering if this has anything to do with recent wayland enhancements to the latest Raspian images

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions