Initializing drm backend fails
Using Debian Sid/unstable with Weston 5.0.0, trying to start Weston from a tty with weston --modules systemd-notify.so
, fails with the error below.
[10:24:41.689] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API.
[10:24:41.689] fatal: failed to create compositor backend
systemd-logind is running though.
● systemd-logind.service - Login Service
Loaded: loaded (/lib/systemd/system/systemd-logind.service; static; vendor preset: enabled)
Active: active (running) since Sun 2019-03-10 10:17:05 CET; 8min ago
Docs: man:systemd-logind.service(8)
man:logind.conf(5)
https://www.freedesktop.org/wiki/Software/systemd/logind
https://www.freedesktop.org/wiki/Software/systemd/multiseat
Main PID: 205 (systemd-logind)
Status: "Processing requests..."
Tasks: 1 (limit: 4915)
Memory: 1.5M
CGroup: /system.slice/systemd-logind.service
└─205 /lib/systemd/systemd-logind
Mär 10 10:17:05 kodi systemd-logind[205]: New seat seat0.
Mär 10 10:17:05 kodi systemd[1]: Started Login Service.
Mär 10 10:17:05 kodi systemd-logind[205]: Watching system buttons on /dev/input/event1 (Power Button)
Mär 10 10:17:05 kodi systemd-logind[205]: Watching system buttons on /dev/input/event0 (Power Button)
Mär 10 10:17:05 kodi systemd-logind[205]: New session 1 of user kodi.
Mär 10 10:17:06 kodi systemd-logind[205]: Watching system buttons on /dev/input/event2 (AT Translated Set 2 keyboard)
Mär 10 10:17:39 kodi systemd-logind[205]: New session 3 of user kodi.
Mär 10 10:18:05 kodi systemd-logind[205]: Session 1 logged out. Waiting for processes to exit.
Mär 10 10:18:05 kodi systemd-logind[205]: Removed session 1.
Mär 10 10:24:15 kodi systemd-logind[205]: New session 4 of user kodi.
After adding the user kodi to the group weston-launch, it works running weston-launch
.
Running dbus-launch weston --modules systemd-notify.so
, does not make a difference.
As I want to start Weston without weston-launch
from a system service unit, I appreciate help to debug this. The debug log maybe gives some clues?