HI,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
what kind of bus are you using ? System or session ?<br></blockquote><div>I wrote a code where i connect to the bus in which i call the method ( i'm new on dbus i don't really know if i'm connecting on the system bus or the session one)<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The systembus may not be enabled to start services in the configfile.<br>
See /etc/dbus-1/session.conf.<br>
The filename should be "something.service"</blockquote><div>i create a file "myApp.service"and i put it /usr/share/dbus-1/services <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
What is the username of the bus ? This user has to have access rights r-x on /home/user1/Desktop/myApp<br>
</blockquote><div>org.myDevice.myApp <br><br>I have another question is there any possibility to call a method directly. In my code i check if there is a method call and i test for the right interface and method then i execute a code. Can I just call a method and the code is executed?<br>
<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
</blockquote></div>Thank you in advance<br>Mehdi<br>