Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

1,672 views
Skip to first unread message

Paul Menzel

unread,
May 10, 2021, 3:10:03 PM5/10/21
to
Package: weston
Version: 9.0.0-4
Severity: normal


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

Christopher Huhn

unread,
Jul 27, 2022, 2:30:04 AM7/27/22
to
Setting the $XDG_RUNTIME_DIR environment variable in ~/.profile or
~/.bash_profile fixes this error.
The Gentoo wiki has an example: https://wiki.gentoo.org/wiki/Weston#Usage

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

Dylan Aïssi

unread,
Jan 22, 2024, 12:00:05 PM1/22/24
to
Control: tag -1 wontfix

As explained in the linked upstream bug, this is expected
and marked as "won't fix".

Best,
Dylan
0 new messages