From dcc8ccf3891875010376efc2c454954419030126 Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Wed, 9 Nov 2022 16:22:37 +0100 Subject: wayland-app-launch: do not restart on failure If the wayland application fails to start we no longer restart it. This can happen when there is no display connected. For example the Qt5_CinematicExperience will fail to start with the following message: xdg_surface geometry (1920 x 1080) is larger than the configured fullscreen state (0 x 0) If we keep restarting the application we spam the kernel log with the following messages: imx-drm display-subsystem: [drm] Cannot find any crtc or sizes Related-to: ELB-4726 Signed-off-by: Stefan Eichenberger (cherry picked from commit c6baf131a27bad3515cec907e307c7d0af297409) Signed-off-by: Max Krummenacher --- .../wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in | 2 -- 1 file changed, 2 deletions(-) diff --git a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in index 31499c1..fc9d733 100644 --- a/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in +++ b/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in @@ -10,8 +10,6 @@ PAMName=login Environment=WAYLAND_DISPLAY=/run/wayland-0 Environment=@@application-environment@@ ExecStart=@@wayland-application@@ -Restart=on-failure -RestartSec=1 [Install] WantedBy=graphical.target -- cgit v1.2.3