Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Desktop Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 29th March 2007, 17:06
Nanko Nanko is offline
Junior Member
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question dbus daemon not working with KDE3.5 and dbus-1.0.2

Hello,

I followed the HOWTO:
http://www.howtoforge.com/dbus_kde_integration or
http://linux.bononline.nl/linux/sess.../example03.php
(same author) in order to activate the sessionwide part of the dbus-daemon. Great article!

However, using $HOME/.dbus-session relies on the output of dbus-launch. I have installed version 1.0.2, which returns:
"DBUS_SESSION_BUS_ADDRESS='unix:abstract=/tmp/dbus-HIociAdxIN,guid=d9be034529991a393dde1ae11b9b3000';
export DBUS_SESSION_BUS_ADDRESS;
DBUS_SESSION_BUS_PID=3679;"
which is similar to that stated in the document under the second link above.

The problem is that the statement:
export DBUS_SESSION_BUS_PID;
is missing in the output of dbus-launch!!


Hence, when the file $HOME/.dbus-session is sourced, this variable is not published to the other applications and they will fail to identify the DBUS-daemon. Also, the scripts inserted in /etc/session.d/kdm/scripts/... will fail, since $DBUS_SESSION_BUS_PID is empty!

I wonder wether this is a bug of dbus-launch or whether I have to insert the export command manually.

Nanko
Reply With Quote
Sponsored Links
  #2  
Old 17th April 2007, 08:37
stefbon stefbon is offline
Junior Member
 
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default dbus error: no export for pid var???

Hello,

first thanks for your feedback!

Second in my version (0.62) there is also no export for the variable
DBUS_SESSION_BUS_PID. But the scripts I've written can handle that.

When sourcing the ~/.dbus-session file, the variable is set. No explicit export command is necessary. When you open a new bashsession, and source the file in your homedirectory you'll see this.

Why the scripts run into trouble I do not know.

Stef
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:14.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.