Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
    Agus Zubiaga
    Hi all! I am starting using this library, but I can't get the session bus
    every time I run dbus.sessionBus()
    I get
    Error: unknown bus address
    Any ideas?
    (I followed the notifications example)
    Andrey Sidorov
    hi - do you have DBUS_SESSION_BUS_ADDRESS env variable set up?
    it looks like DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-rwSQxasOek,guid=c8b2bd1dce3014876247ab9556a85492
    if you run from ssh session it might be not set, usually session bus is started by desktop environment scripts
    Agus Zubiaga
    Yep, I was trying to connect to another session bus from root, then I realized that it doesn't make sense :) I switched to the real user and got it working! thanks
    Andrey Sidorov