summaryrefslogtreecommitdiff
path: root/recipes-graphics/wayland-app-launch/wayland-app-launch/wayland-app-launch.service.in
AgeCommit message (Collapse)Author
2022-12-07Revert "wayland-app-launch: do not restart on failure"Stefan Eichenberger
This reverts commit c6baf131a27bad3515cec907e307c7d0af297409. Now that the cinematicexperience application doesn't crash anymore we can enable the restart on failure again. This will handle the unlikely case when the application would still crash in an unlikely event. Related-to: ELB-4884 Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com> (cherry picked from commit 34121f5c91729f7b9185f879318bfd85746e7112) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-12-07wayland-app-launch: do not restart on failureStefan Eichenberger
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 <stefan.eichenberger@toradex.com> (cherry picked from commit c6baf131a27bad3515cec907e307c7d0af297409) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2022-09-29wayland-app-launch: remove shell-scriptPhilippe Schenker
weston uses now systemd-notify to notify systemd when it is up and running. This is the reason why we do no longer need wayland-app-launch.sh with the synchronization point in it. Remove wayland-app-launch.sh script. Remove also the init directory feature as it is no longer needed. qtsmarthome works now from any directory. Related-to: ELB-4784 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-09-29wayland-app-launch: add xwayland_display env variablePhilippe Schenker
Weston is no longer being started as root. To allow applications and other users to start applications that render to weston there is the socket-file in /run/wayland-0 created. Do also specify the user we want the app to be started from. Do also instruct systemd with PAMName to treat as a login so XDG_RUNTIME_DIR is also set. Related-to: ELB-4784 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2022-08-08wayland-app-launch: Fix weston service nameFrancesco Dolcini
Fix weston service name, it was changed in oe-core commit dd83fb40f767 ("weston-init: Stop running weston as root") from weston@root.service to weston.service. Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
2020-07-22wayland-app-launch: restart app only in case of a failurePhilippe Schenker
And limit the restart to once per second. Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
2020-07-22wayland-app-launch: add possibility to set environment for appPhilippe Schenker
Related-to: ELB-2838 Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>