Is systemd a must for weston or other Wayland client?

  Kiến thức lập trình

Wondering if there is a simpler Wayland client that does not require systemd/loginctl, I am on a Zynq with petalinux.

I am getting this when I try Weston:

XDG_RUNTIME_DIR=/tmp weston –tty=”1″ –idle-time=0
Date: 2024-04-18 UTC
[18:30:51.296] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[18:30:51.296] Command line: weston –tty=1 –idle-time=0
[18:30:51.296] OS: Linux, 6.1.30-xilinx-v2023.2, #1 SMP Fri Sep 22 10:41:01 UTC 2023, aarch64
[18:30:51.296] warning: XDG_RUNTIME_DIR “/tmp” is not configured
correctly. Unix access mode must be 0700 (current mode is 777),
and must be owned by the user (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[18:30:51.297] Using config file ‘/etc/xdg/weston/weston.ini’
[18:30:51.297] Output repaint window is 7 ms maximum.
[18:30:51.297] Loading module ‘/usr/lib/libweston-9/drm-backend.so’
[18:30:51.306] initializing drm backend
[18:30:51.307] logind: not running in a systemd session
[18:30:51.307] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[18:30:51.310] using /dev/dri/card0
[18:30:51.310] DRM: supports atomic modesetting
[18:30:51.310] DRM: supports GBM modifiers
[18:30:51.310] DRM: supports picture aspect ratio
[18:30:51.310] Loading module ‘/usr/lib/libweston-9/gl-renderer.so’
[18:30:51.311] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_platform_x11
[18:30:51.312] failed to initialize egl
[18:30:51.346] fatal: failed to create compositor backend
Internal warning: debug scope ‘drm-backend’ has not been destroyed.

LEAVE A COMMENT