I found you could set DBUS_SESSION_BUS_ADDRESS variable, but it gives an
error:

$ sudo DBUS_SESSION_BUS_ADDRESS=$DBUS_SESSION_BUS_ADDRESS gnome-terminal
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: 
The connection is closed

For the record, I want to integrate apps running in remote machines and
LXC containers into Unity. Obviously they share the same issue are
trying to integrate sudoed apps, namely the apps using session bus
specific to the remote machine or container. As such, I'm trying to
mount my local bus session to the container and telling the apps to use
it.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-appmenu in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/592842

Title:
  appmenu doesn't work with apps run as sudo root

Status in Application Menu Indicator:
  Triaged
Status in indicator-appmenu package in Ubuntu:
  Triaged

Bug description:
  appmenu doesn't work with apps run as sudo root.
  I tested with synaptic, gksu gedit, and sudo gedit.

  possible duplicate of bug 587353

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-appmenu/+bug/592842/+subscriptions

-- 
Mailing list: https://launchpad.net/~dx-packages
Post to     : dx-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dx-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to