dbus error


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users dbus error
# 1  
Old 08-22-2011
dbus error

Hi all

I have a tricky issue that i am not to sure on how to tackle

We have certain users that we a dbus session is run it does not create a ~/.dbus directory with the relevent files in it

i am not sure how to go about debugging it

thanks
Adam
# 2  
Old 08-22-2011
How are the users running the dbus session? gives us some more detail/s please.
# 3  
Old 08-22-2011
It is being called from a program we have created, but even if i run dbus-launch as them it does not create the files, is there a way i can test this

sorry for not giving more info i am new at this Smilie

thanks, your help is much appriacted
# 4  
Old 08-22-2011
Can you post the permissions on ~/.dbus directory for a user for which it is not working? Maybe it is as simple as the right permissions on ~/.dbus directory.

Or you could try the following:

a) rm -rf ~/.dbus --- remove the users .dbus dir
b) mkdir -m 755 ~/.dbus as the user so that the directory gets the right permissions
c) launch dbus session and test if it works
# 5  
Old 08-22-2011
the users that dbus is not working on there is no ~/.dbus dir
it gets created when the dbus damon scusffully starts/runs
# 6  
Old 08-22-2011
So the dbus daemon fails to start as well? or does the daemon start successfully, but does not create a ~/.dbus dir?
# 7  
Old 08-22-2011
The Damon starts, you can run ps -ef | grep dbus and see that it running, but the ~/.dbus does not created
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

A Dbus signal can be lost?

Hello to everyone! I have a little and simple question. I'm developing a simple application that receives dbus signals . The application works great, but a question is around my head and that is : A dbus signal can be lost ? I read some dbus documentation but didn't clear me this doubt. Thanks! (2 Replies)
Discussion started by: Kovalevsky
2 Replies

2. Programming

How to create a new GType using dbus-Glib?

Hi, I'm trying to use the DBUS connection to communicate with the Marxbot medulla. But when I want to use the interface to send a "SetSpeed" event using the method "SendEventName", I need to create a new GTYPE "DBUS_TYPE_G_INIT16_ARRAY" which is an array of int16. I found this function ... (0 Replies)
Discussion started by: wiem
0 Replies

3. UNIX for Dummies Questions & Answers

/var/run/dbus/system_bus_socket problem

Hello, i have a problem. i have a domain name hosted on a server and it goes very slow and sometimes down. I looked on the processes running and on the netstat status and i discovered that each time there is a slowness or a downtime is caused by: /var/run/dbus/system_bus_socket many of these... (9 Replies)
Discussion started by: dan8354544
9 Replies
Login or Register to Ask a Question