#988337 weston: Fails to start with `environment variable XDG_RUNTIME_DIR is not set.`

Package:
weston
Source:
weston
Description:
reference implementation of a wayland compositor
Submitter:
Paul Menzel
Date:
2024-01-22 16:57:04 UTC
Severity:
normal
Tags:
#988337#5
Date:
2021-05-10 19:05:31 UTC
From:
To:
Dear Debian folks,


Installing a minimal Debian system, then installing Weston with `sudo
apt install weston`, then trying to start it, it fails to start (even
with the user added to the group `weston-launch`, Weston fails to start
and shows the error below.

     fatal: environment variable XDG_RUNTIME_DIR is not set.
     Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
     on how to implement it.

the error below is shown.

`systemd-logind.service` is running, but `loginctl list-sessions` does
not show anything.

Installing `libpam-systemd` gets that working.


Kind regards,

Paul

#988337#10
Date:
2022-07-27 06:19:05 UTC
From:
To:
XDG_RUNTIME_DIR is normally defined in
/etc/X11/Xsession.d/20dbus_xdg-runtime.
I assume Xsession* is only for X and not for Weston/Wayland?

Best

Christopher

#988337#17
Date:
2024-01-22 16:54:09 UTC
From:
To:
As explained in the linked upstream bug, this is expected
and marked as "won't fix".

Best,
Dylan