Bug 115334

Summary: mention dbus-launch
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Andreas Jaeger <aj>
Component: Release NotesAssignee: Karl Eichwalder <ke>
Status: RESOLVED FIXED QA Contact: Andreas Jaeger <aj>
Severity: Normal    
Priority: P5 - None    
Version: Beta 4 Plus   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Andreas Jaeger 2005-09-05 18:37:52 UTC
We should add something like:

Dbus for Interprocess-communication in local .xinitrc

dbus is used for more and more applications and dbus-launch is needed for these.
The system wide xinitrc file (/etc/X11/xinit/xinitrc) uses dbus-launch to launch
the windowmanger.  If you have a local ~/.xinitrc file, you should change this.
 Otherwise applications like beagle, banshee (Danny, JP, any more) might not run
at all.


Danny, JP, what do you think?
Comment 1 Karl Eichwalder 2005-09-06 06:26:35 UTC
The meaning of the following phrase is not clear to me:

    If you have a local ~/.xinitrc file, you should change this.

Does it mean you should remove WM initialization from ~/.xinitrc?  Can we
recommend to copy /etc/skel/.xinitrc.template and re-add customizations?  Or do
you want the user to remove the dbus-launch from /etc/X11/xinit/xinitrc?
Comment 2 Andreas Jaeger 2005-09-06 06:34:03 UTC
The recommendation is to copy .xinitrc.template and re-add customizations.  The
final version should have dbus-launch added.
Comment 3 Karl Eichwalder 2005-09-06 12:31:13 UTC
Final text (RC2):

  <!-- bug 115334 -->
  <sect3 id="dbus_xinitrc"  status="2005-09-06">
   <title>Setting Up D-BUS for Interprocess Communication in .xinitrc</title>

   <para>
Many applications now rely on D-BUS for interprocess communication (IPC).
Calling <command>dbus-launch</command> starts
<command>dbus-daemon</command>. The systemwide
<filename>/etc/X11/xinit/xinitrc</filename> uses <command>dbus-launch</command>
to start the window manger.</para>

   <para>If you have a local <filename>~/.xinitrc</filename> file, you must
change it accordingly.  Otherwise applications like beagle or banshee might
fail.  Save your old <filename>~/.xinitrc</filename>.  Then copy the new
template file into your home directory with:</para>

   <para><command>cp /etc/skel/.xinitrc.template ~/.xinitrc</command></para>

   <para>Finally, add your customizations from the saved
   <filename>.xinitrc</filename>.</para>

  </sect3>