spotifyd
spotifyd copied to clipboard
Error when launching from tty
Description
When I'm trying to launch spotifyd from linux tty I get error:
Caught panic with message: Failed to initialize DBus connection: D-Bus error: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11 (org.freedesktop.DBus.Error.NotSupported)
Why I cannot use it without graphic session?
To Reproduce
- Open linux tty.
- spotifyd --no-daemon
- see error
Expected behavior Should works on tty without graphical session.
Versions (please complete the following information):
- Spotifyd: spotifyd-0.3.3-r2
This error message comes from the DBus MPRIS implementation, which won't work without a session DBus. You can disable that in your config file by setting use_mpris = false.
Hope this helps!