unknown child process exited
I'm trying to start weston on a system without systemd, but it gives me some problems.
Thus I'm trying to start weston manually on a target with systemd first to be sure that I got the configuration correct, and I ends up in the same problem as in non systemd.
My question is why do I get the message unknown child process exited
The primary difference is that when I run manually, I run as root
and not weston
user.
weston --debug --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/0/bus"
export EDITOR="vi"
export HOME="/home/root"
export INVOCATION_ID="e2ffa4076d5545419708a020a07679f4"
export LISTEN_FDS="1"
export LOGNAME="root"
export NOTIFY_SOCKET="/run/systemd/notify"
export OLDPWD="/"
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin"
export PWD="/home/root"
export SHELL="/bin/sh"
export SHLVL="0"
export SSH_CLIENT="172.17.165.18 45760 22"
export SSH_CONNECTION="172.17.165.18 45760 172.17.165.40 22"
export SSH_TTY="/dev/pts/0"
export TERM="xterm-256color"
export USER="root"
export WAYLAND_DISPLAY="wayland-0"
export WESTON_CONFIG_FILE="/etc/xdg/weston/weston.ini"
export XDG_RUNTIME_DIR="/run/user/0"
export XDG_SEAT="seat0"
export XDG_SESSION_CLASS="user"
export XDG_SESSION_DESKTOP="weston"
export XDG_SESSION_ID="c4"
export XDG_SESSION_TYPE="wayland"
export XDG_VTNR="7"
export XWAYLAND_NO_GLAMOR="1"
Date: 2023-08-31 UTC
[13:40:20.318] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0+
[13:40:20.323] Command line: weston --debug --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
[13:40:20.323] OS: Linux, 5.15.32-rt39-06050-g9b4b5d3d25b3, #1 SMP PREEMPT_RT Fri Jul 28 08:37:26 UTC 2023, aarch64
[13:40:20.323] Flight recorder: enabled
[13:40:20.324] Using config file '/etc/xdg/weston/weston.ini'
WARNING: debug protocol has been enabled. This is a potential denial-of-service attack vector and information leak.
[13:40:20.325] Output repaint window is 16 ms maximum.
[13:40:20.328] Loading module '/usr/lib/libweston-10/rdp-backend.so'
[13:40:20.515] using FreeRDP version 2.6.1
[13:40:20.515] TLS support activated
[13:40:20:497] [3674:3674] [INFO][com.freerdp.core.listener] - Listening on [0.0.0.0]:3389
[13:40:20.533] Registered plugin API 'weston_rdp_output_api_v1' of size 8
[13:40:20.533] Color manager: no-op
[13:40:20.533] Output 'rdp' using color profile: built-in default sRGB SDR profile
[13:40:20.533] Output 'rdp' enabled with head(s) rdp
[13:40:20.533] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: no
cursor planes: no
arbitrary resolutions: yes
view mask clipping: yes
explicit sync: no
color operations: no
presentation clock: CLOCK_MONOTONIC_RAW, id 4
presentation clock resolution: 0.000000001 s
[13:40:20.538] Loading module '/usr/lib/weston/fullscreen-shell.so'
[13:40:20.541] Loading module '/usr/lib/weston/screen-share.so'
Date: 2023-08-31 UTC
[13:40:20.576] weston 10.0.1
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: lf-5.15.52-2.1.0+
[13:40:20.576] Command line: /usr/bin/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize --rdp-tls-cert=/var/keys/deif/rdp/server.crt --rdp-tls-key=/var/keys/deif/rdp/server.key
[13:40:20.577] OS: Linux, 5.15.32-rt39-06050-g9b4b5d3d25b3, #1 SMP PREEMPT_RT Fri Jul 28 08:37:26 UTC 2023, aarch64
[13:40:20.577] Flight recorder: enabled
[13:40:20.577] Using config file '/etc/xdg/weston/weston.ini'
[13:40:20.577] Output repaint window is 16 ms maximum.
[13:40:20.577] Loading module '/usr/lib/libweston-10/rdp-backend.so'
[13:40:20.587] using FreeRDP version 2.6.1
[13:40:20.587] TLS support activated
[13:40:20.588] unable to bind rdp socket
[13:40:20.588] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.
[13:40:20.588] fatal: failed to create compositor backend
[13:40:20.601] Screen share failed: No wl_shm found
[13:40:20.601] unknown child process exited