Fail connecting to DBus

tj5527 tj5527 at
Sat Feb 17 17:02:01 UTC 2018

I am new to DBus, and am practicing using python dbus for fun. Following the code at When executing python script it complains

    dbus.exceptions.DBusException: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /run/user/1001/pulse/dbus-socket: No such file or directory

What might cause this error and how to fix that?

My environment is Ubuntu 16.04 LTS, python 3.5.2.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the dbus mailing list