ERROR IN CONNECTION ESTABLISHMENT FOR A SESSION BUS

Aashish Raina aashish_raina at persistent.co.in
Mon Oct 8 23:17:10 PDT 2007


Hello All
             1: I am trying to establish a connection with D_BUS demon using my application without any binding low level api. (i created a key also dbus-uuidgen - Utility to generate UUIDs )
             2: But no connection is getting established as the connection pointer is null,and a error message gets generated which says 
                   " Failed to execute dbus-launch to autolaunch D-Bus session"
                    one thing i have understood that this dbus-launch is a utility that is used to start a session bus by executing a shell script..
                     I read the man page for d-bus launch and made a bash ,shell script.After executing it said  

 "Failed to start message bus: Failed to open "/etc/selinux/targeted/contexts/dbus_contexts": No such file or directory EOF in dbus-launch reading address from bus daemon

  I went into this directory and figured out that this file is not present in this  directory.
  How can i get this file.Is this the right way i am proceding.
  
 I might have done some mistakes in this mail.Please forgive me ,as i am new to this mailing thing,But i am a fast learner
   

                    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20071009/27b4d110/attachment.html 
-------------- next part --------------
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
===========
Persistent Systems Pvt. Ltd. is now PERSISTENT SYSTEMS LIMITED
===========
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20071009/27b4d110/attachment.htm 


More information about the dbus mailing list