Hi, I have configured pipewire and wireplumber to run as user level services but I see some errors in the logs and if I exit the X session and restart it, wireplumber doesn't work without restarting the service (I am using Xlibre + i3).
I have used these dinit configuration files:
dinit files
pipewire.log
[E][17:33:27.966574] mod.rt | [ module-rt.c: 294 pw_rtkit_bus_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[W][17:33:27.966921] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.966929] mod.rt | [ module-rt.c: 995 do_rtkit_setup()] RTKit does not give us MaxRealtimePriority, using 1
[W][17:33:27.966971] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.966973] mod.rt | [ module-rt.c: 1000 do_rtkit_setup()] RTKit does not give us MinNiceLevel, using 0
[W][17:33:27.967006] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.967007] mod.rt | [ module-rt.c: 1005 do_rtkit_setup()] RTKit does not give us RTTimeUSecMax, using -1
[E][17:33:27.968597] spa.dbus | [ dbus.c: 333 impl_connection_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[E][17:33:27.968630] mod.portal | [ module-portal.c: 318 pipewire__module_init()] Failed to connect to session bus: Input/output error
pipewire-pulse.log
[E][17:33:27.966574] mod.rt | [ module-rt.c: 294 pw_rtkit_bus_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[W][17:33:27.966962] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.966972] mod.rt | [ module-rt.c: 995 do_rtkit_setup()] RTKit does not give us MaxRealtimePriority, using 1
[W][17:33:27.967022] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.967024] mod.rt | [ module-rt.c: 1000 do_rtkit_setup()] RTKit does not give us MinNiceLevel, using 0
[W][17:33:27.967055] mod.rt | [ module-rt.c: 330 translate_error()] RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
[W][17:33:27.967056] mod.rt | [ module-rt.c: 1005 do_rtkit_setup()] RTKit does not give us RTTimeUSecMax, using -1
[E][17:33:27.970312] spa.dbus | [ dbus.c: 333 impl_connection_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
wireplumber.log
W 17:33:37.599128 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 17:33:37.599156 mod.rt ../pipewire/src/modules/module-rt.c:995:do_rtkit_setup: RTKit does not give us MaxRealtimePriority, using 1
W 17:33:37.599195 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 17:33:37.599197 mod.rt ../pipewire/src/modules/module-rt.c:1000:do_rtkit_setup: RTKit does not give us MinNiceLevel, using 0
W 17:33:37.599230 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 17:33:37.599232 mod.rt ../pipewire/src/modules/module-rt.c:1005:do_rtkit_setup: RTKit does not give us RTTimeUSecMax, using -1
E 17:33:37.894792 default ../pipewire/spa/plugins/bluez5/upower.c:54:upower_get_percentage_properties_reply: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
N 17:33:37.898150 wp-device ../wireplumber/lib/wp/device.c:710:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
N 17:33:37.898169 s-monitors-libcame enumerate-device.lua:30:chunk: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
N 18:03:34.715672 m-dbus-connection ../wireplumber/modules/module-dbus-connection.c:138:on_connection_closed: <WpDBusConnection:0x5626312464c0> DBus connection closed: Underlying GIOStream returned 0 bytes on an async read
N 18:03:34.716619 m-dbus-connection ../wireplumber/modules/module-dbus-connection.c:146:on_connection_closed: <WpDBusConnection:0x5626312464c0> Trying to reconnect after core sync
N 18:03:34.849862 m-dbus-connection ../wireplumber/modules/module-dbus-connection.c:128:on_sync_reconnect: <WpDBusConnection:0x5626312464c0> Cannot reconnect: Error acquiring bus address: Error spawning command line “dbus-launch --autolaunch=eb9b05f2b77746be14fea779688e563b --binary-syntax --close-stderr”: Child process exited with code 1
W 18:07:01.151333 pw.core ../pipewire/src/pipewire/core.c:199:destroy_proxy: 0x5626312d0bb0: leaked proxy 0x56263151a3d0 id:6
W 18:07:01.154934 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 18:07:01.154961 mod.rt ../pipewire/src/modules/module-rt.c:995:do_rtkit_setup: RTKit does not give us MaxRealtimePriority, using 1
W 18:07:01.155007 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 18:07:01.155010 mod.rt ../pipewire/src/modules/module-rt.c:1000:do_rtkit_setup: RTKit does not give us MinNiceLevel, using 0
W 18:07:01.155055 mod.rt ../pipewire/src/modules/module-rt.c:330:translate_error: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
W 18:07:01.155058 mod.rt ../pipewire/src/modules/module-rt.c:1005:do_rtkit_setup: RTKit does not give us RTTimeUSecMax, using -1
E 18:07:01.448121 default ../pipewire/spa/plugins/bluez5/upower.c:54:upower_get_percentage_properties_reply: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
N 18:07:01.453238 wp-device ../wireplumber/lib/wp/device.c:710:wp_spa_device_new_from_spa_factory: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
N 18:07:01.453257 s-monitors-libcame enumerate-device.lua:30:chunk: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.