Dbus sesion sharing...

rameshsagar krishnasagar rameshsagar.k at gmail.com
Mon Jul 4 09:51:10 PDT 2011


Hi Simon,
In the system i have 3 users
1)root
2)cond
3)media

In case 1 works perfectly fine
a)The dbus is launched by the user 'cond '
b)The server application is launched by user 'cond'
c)The Client application is launched by user 'cond'
In this case the client & server communicates very well through Dbus

In case 2:-
a) The dbus is launched by the user 'cond '
b)The server application is launched by user 'cond'
c)The Client application is launched by user 'media'

In this case server program runs without any problem when i client program
is launched by the user media i get the following error

[Invalid UTF-8] client: ERROR: Couldn\x92t connect to the Session bus (Did
not receive a reply. Possible causes include: the remote application did not
send a reply, the message bus security policy blocked the reply, the reply
timeout expired, or the network connection was broken.)

Configuration files:-
When i look into the configuration files i can see that policy is set to
allow connection from all user.i am enclosing the conf files what i have
here.


The source code for server /client & make file are available in the
following link

http://maemo.org/maemo_training_material/maemo4.x/html/maemo_Platform_Development_Chinook/APPENDIX_F_Source_code_for_the_GLibDBus_asynchronous_examples.html


Kidnly help me to solve this problem

With thanks & regards
Ramesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110704/6e46a527/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus-1.rar
Type: application/rar
Size: 2460 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110704/6e46a527/attachment.rar>


More information about the dbus mailing list