meta-digi/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-graphics/wayland/weston-init
Gonzalo Ruiz f3c9b3c57a weston-init: wait for a wayland socket before logging in
The login prompt appears before Wayland is fully initialized and
has created a wayland socket.

Logging in too early as root in this scenario caused the
WAYLAND_DISPLAY environment variable to be left empty. As a
consequence, gstreamer failed to use waylandsink to print contents
in the display.

Introduce a 10-seconds polling loop to wait for the wayland socket to
be available before proceeding with the login.

Signed-off-by: Gonzalo Ruiz <Gonzalo.Ruiz@digi.com>
2025-06-20 10:19:17 +02:00
..
72-galcore.rules stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
73-pulseaudio-hdmi.rules stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
README-CHECK-GPU stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
check-gpu stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
default_pulseaudio_profile stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
digi_background.png stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
pulseaudio_hdmi_switch.sh stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
weston-checkgpu.service stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
weston-launch.service meta-digi: update home path to "/root" in our recipes 2025-02-14 13:30:10 +01:00
weston-start stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
weston.ini stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
weston.service stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
weston.sh stm-st-stm32mp: add support to wayland/weston recipes for STM32 paltforms 2022-07-04 16:56:41 +02:00
weston.socket stm-st-stm32mp: weston: sync weston recipes with v13.0.1 2024-12-10 10:19:50 +01:00
weston_profile.sh weston-init: wait for a wayland socket before logging in 2025-06-20 10:19:17 +02:00