Using pipewire in tty
- PipeWire version (`pipewire --version`):
pipewire
Compiled with libpipewire 0.3.59
Linked with libpipewire 0.3.59
- Distribution and distribution version (`PRETTY_NAME` from `/etc/os-release`):
Alpine Linux edge
- Desktop Environment:
Sway
- Kernel version (`uname -r`):
5.15.74-0-lts
Hello. How can I get pipewire work in tty withoun any de or wm?
I've tried pipewire-launcher
from tty but get a lot of errors:
[E][00044.819179] mod.rt | [ module-rt.c: 253 pw_rtkit_bus_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[E][00044.821183] spa.dbus | [ dbus.c: 349 impl_connection_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[E][00044.821199] mod.portal | [ module-portal.c: 346 pipewire__module_init()] Failed to connect to session bus: I/O error
[E][00044.822692] pw.conf | [ conf.c: 791 do_exec()] execvp error '/usr/bin/pipewire-media-session': No such file or directory
[W][00044.824454] mod.rt | [ module-rt.c: 297 translate_error()] RTKit error: org.freedesktop.DBus.Error.Failed
[W][00044.824471] mod.rt | [ module-rt.c: 843 impl_acquire_rt()] could not make thread 2996 realtime using RTKit: I/O error
[E][00044.825180] mod.rt | [ module-rt.c: 253 pw_rtkit_bus_get()] Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
W 18:44:42.423919 mod.rt ../src/modules/module-rt.c:253:pw_rtkit_bus_get: Failed to connect to session bus: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
[W][00044.826861] mod.rt | [ module-rt.c: 297 translate_error()] RTKit error: org.freedesktop.DBus.Error.Failed
[W][00044.826878] mod.rt | [ module-rt.c: 622 set_nice()] could not set nice-level to -11: I/O error
M 18:44:42.425544 mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.Failed
M 18:44:42.425572 mod.rt ../src/modules/module-rt.c:622:set_nice: could not set nice-level to -11: I/O error
[W][00044.828837] mod.protocol-pulse | [ server.c: 607 start_unix_server()] server 0x7f1e92cceee0: socket '/tmp/1000-runtime-dir/pulse/native' is in use
[W][00044.828873] mod.protocol-pulse | [ server.c: 1033 servers_create_and_start()] pulse-server 0x7f1e92d72ac0: failed to start server on 'unix:/tmp/1000-runtime-dir/pulse/native': Address in use
[E][00044.828889] mod.protocol-pulse | [ pulse-server.c: 5621 pw_protocol_pulse_new()] 0x7f1e92d72ac0: no servers could be started: Address in use
[E][00044.828906] pw.conf | [ conf.c: 594 load_module()] 0x7f1e92ddc040: could not load mandatory module "libpipewire-module-protocol-pulse": Address in use
[E][00044.829036] default | [ pipewire.c: 125 main()] failed to create context: Address in use
M 18:44:42.428549 mod.rt ../src/modules/module-rt.c:297:translate_error: RTKit error: org.freedesktop.DBus.Error.Failed
M 18:44:42.428586 mod.rt ../src/modules/module-rt.c:843:impl_acquire_rt: could not make thread 3003 realtime using RTKit: I/O error
M 18:44:42.434411 m-lua-scripting ../modules/module-lua-scripting/api/config.c:80:load_components: Failed to open module /usr/lib/wireplumber-0.4/libwireplumber-module-logind: Error loading shared library /usr/lib/wireplumber-0.4/libwireplumber-module-logind.so: No such file or directory
Error acquiring bus address: Cannot autolaunch D-Bus without X11 $DISPLAY
W 18:44:42.436816 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'WpTransition'
C 18:44:42.436831 wp-transition (null):(null):(null): wp_transition_return_error: assertion 'WP_IS_TRANSITION (self)' failed
M 18:44:42.436982 pw.core ../src/pipewire/core.c:190:destroy_proxy: 0x7f6de1ec2340: leaked proxy 0x7f6de1df07b0 id:3
M 18:44:42.437052 wireplumber ../src/main.c:363:on_disconnected: disconnected from pipewire
Edited by Tim