2006/6/27, kurt ak <[EMAIL PROTECTED]>:
Hello all, I'm trying to use dbus to connect to a bluetooth device, but I can't
even seem to get a connection to the bus while in the sandbox.  I have a small
test application that I wanted to run within scratchbox (0.9.8.7), with the new
2.0 rootstrap.

I tried compiling under both of my targets, SDK_PC and SDK_ARMEL, and I get the
  message when trying to connect, "Failed to connect to socket
/var/run/dbus/system_bus_socket: Connection refused".

Is it possible to use dbus within scratchbox?  Because actually, i don't get
this message on the actual device.

Sounds like you are not running the program with "run-standalone.sh
program", it sets up the proper environment variables for dbus etc.

It's not needed on the device if you use the xterm since it inherits
the environment from maemo-af-desktop (but it is needed if you ssh in
the device for example).

--
Kalle Vahlman, [EMAIL PROTECTED]
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi
_______________________________________________
maemo-developers mailing list
[email protected]
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to