Comment 30 for bug 592842

Revision history for this message
Oxwivi (oxwivi) wrote :

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.