On Fri, 2009-12-18 at 16:27 +0800 Wang, Roger wrote:
> On Fri, 2009-12-18 at 16:18 +0800 Arnaud Ponchon wrote:
> > Hi,
> > 
> > As the Audio Manager is running on the Dbus Session, is it possible to use
> > it  with an user who doesn't have a graphical environment ?
> 
> Yes ... You can do that after setting the correct value of environment
> variable 'DBUS_SESSION_BUS_ADDRESS'.

Here is a bash alias helps do that:

alias getdbus='export DBUS_SESSION_BUS_ADDRESS=`cat /proc/$(pidof \
mutter)/environ | tr "\0" "\n" | grep DBUS_SESSION_BUS_ADDRESS | cut -d \
"=" -f2-`'

After remote login, simply run 'getdbus'.

-- 
Roger WANG
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to