Detecting dbus session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I'm trying to write a couple NetworkManager Dispatcher calls to futz
with a few things that don't yet have NM capabilities.  However I'm
running into a snag, particularly with pidgin.  Pidgin has a
purple-remote call that uses dbus.  nm-dispatcher runs as root so I
have to switch to my user to accomplish things (currently via su -
<user> -c "command args").  Seems though that a 'su - <user>' from root
doesn't add the DBUS_SESSION_BUS_ADDRESS env entry, and purple-remote
can't find dbus or can't find pidgin on the bus.

How can I programmatically figure out what the dbus address is, or
otherwise accomplish what I'm trying to do?

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?

Attachment: signature.asc
Description: PGP signature

-- 
Fedora-desktop-list mailing list
Fedora-desktop-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-desktop-list

[Index of Archives]     [Fedora Users]     [Fedora KDE]     [Fedora Announce]     [Fedora Docs]     [Fedora Config]     [PAM]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux