It appears that Spotify 1.0.64 ebuild no longer supports dbus. Not sure if this is strictly related to the ebuild, or Spotify itself. Reproducible: Always Steps to Reproduce: 1. dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause Actual Results: Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.mpris.MediaPlayer2.spotify was not provided by any .service files Expected Results: Music in Spotify is paused Portage 2.3.11 (python 2.7.14-final-0, default/linux/amd64/13.0, gcc-6.4.0, glibc-2.25-r7, 4.12.10-gentoo-agares x86_64) ================================================================= System uname: Linux-4.12.10-gentoo-agares-x86_64-Intel-R-_Core-TM-_i5-5200U_CPU_@_2.20GHz-with-gentoo-2.4.1 KiB Mem: 8062252 total, 2027052 free KiB Swap: 524284 total, 285692 free Timestamp of repository gentoo: Sun, 08 Oct 2017 07:30:02 +0000 Head commit of repository gentoo: fa156bc7255f384731084f0d0d52944dd59ea871 sh bash 4.4_p12 ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.3::gentoo dev-lang/python: 2.7.14::gentoo, 3.4.6::gentoo dev-util/cmake: 3.9.4::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.32::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.13.4-r1::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.28.1::gentoo, 2.29.1::gentoo sys-devel/gcc: 6.4.0::gentoo sys-devel/gcc-config: 1.9.0::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: dotnet location: /var/lib/layman/dotnet masters: gentoo priority: 50 flatpak-overlay location: /var/lib/layman/flatpak-overlay masters: gentoo priority: 50 fuverlay location: /var/lib/layman/fuverlay masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=broadwell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=broadwell -O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl rsync://gentoo.prz.rzeszow.pl/gentoo http://ftp.vectranet.pl/gentoo/ rsync://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4 -l5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt cxx dri fontconfig fortran gdbm gtk http2 iconv icu ipv6 modules multilib ncurses nls nptl opengl openmp pam pcre pulseaudio readline seccomp session ssl tcpd truetype udev unicode vaapi vim-syntax wifi xattr xcb xft xkb zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I just ran it in my install and it worked fine. these are the dbus packages I have installed [I] dev-libs/dbus-glib (0.108{xpak}@06/28/2017): D-Bus bindings for glib [I] dev-python/dbus-python (1.2.4{xpak}@06/28/2017): Python bindings for the D-Bus messagebus [I] dev-qt/qtdbus (5.7.1(5){xpak}@07/05/2017): Qt5 module for inter-process communication over the D-Bus protocol [I] dev-util/gdbus-codegen (2.50.3{xpak}@04/01/2017): GDBus code and documentation generator [I] sys-apps/dbus (1.10.18{xpak}@05/04/2017): A message bus system, a simple way for applications to talk to each other
This is my list of dbus packages: [IP-] [ ] dev-libs/dbus-glib-0.108:0 [IP-] [ ] dev-python/dbus-python-1.2.4:0 [IP-] [ ] dev-qt/qtdbus-4.8.7:4 [IP-] [ ] dev-qt/qtdbus-5.9.2:5/5.9 [IP-] [ ] dev-util/gdbus-codegen-2.52.3:0 [IP-] [ ] sys-apps/dbus-1.10.24:0 When I start Spotify from the terminal I get the following messages: /opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify) /opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify) /opt/spotify/spotify-client/spotify: /usr/lib64/libcurl.so.4: no version information available (required by /opt/spotify/spotify-client/spotify) /opt/spotify/spotify-client/spotify: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /opt/spotify/spotify-client/spotify) /proc/self/exe: /usr/lib64/libcurl.so.4: no version information available (required by /proc/self/exe) /proc/self/exe: /usr/lib64/libcrypto.so.1.0.0: no version information available (required by /proc/self/exe) I have tried removing ~/.config/spotify, rebuilding dbus-python and dbus. I checked with dbus-monitor, but nothing shows up when I restart Spotify.
I've got the same issue. Additionally to the usual library errors i also get the following error: (spotify:10450): GLib-GIO-CRITICAL **: g_dbus_connection_send_message: assertion 'G_IS_DBUS_CONNECTION (connection)' failed Normally I'm used to ignoring these GTK errors, but it might be related in this case.
as part of my .xprofile I have this eval $(dbus-launch --auto-syntax) You could try running that in a shell before running spotify in the same shell to see if that works for you. I'm using awesomewm, which doesn't set stuff like that up automatically.
Okay, after adding that line to my .xinitrc it started working. Apparently some previous version was starting automatically (or previous version of i3 was starting it). Thanks for your help and sorry for bugging you :)
I'm going to close this as a wontfix as it's has to do with the user setup of their DE.