[maemo-developers] DBus problem

From: Aleksandr Koltsoff czr at iki.fi
Date: Sun Oct 21 16:57:24 EEST 2007
Michael Trunner wrote:
> did I need run-standalone.sh even on the n800?
> I try it direct on the n800, not in scratchbox.

You need run-standalone on the device if you plan to attach to the
session bus. Attaching to the system bus works without the wrapper
script, although I'd recommend you use it anyway.

You can test for this yourself by running dbus-monitor on the device
(with and without the wrapper, with --system and with --session).

ak.

> Aleksandr Koltsoff schrieb:
>> Hi Michael,
>>
>> Michael Trunner wrote:
>>   
>>> I tried to write a small program that has a dbus method that should
>>> called from an other application. The program works on my ubuntu with
>>> out problems and I can compile it in scratchbox. But when I start it and
>>> try to call the method over dbus nothing happens. The calling software
>>> is waiting for an answer, that my program didn't send. Even the function
>>> isn't called, but the rest of the program works perfect so the
>>> gtk_main_loop is running.
>>>     
>> You did run it with run-standalone.sh?
>>
>> run-standalone.sh ./yourprogram param1 param2
>>
>> (no spaces allowed in parameters)
>>
>> If it still doesn't work, you probably didn't start the application
>> framework: af-sb-init start (you need working DISPLAY for this).
>>
>> ak.
>>
>>   
> 


More information about the maemo-developers mailing list