<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>49</bug_id>
          
          <creation_ts>2008-01-26 11:09:50 +0000</creation_ts>
          <short_desc>DBus session bus doesn&apos;t exit when X session exits</short_desc>
          <delta_ts>2010-12-21 06:07:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton - Disabled">ross</reporter>
          <assigned_to name="Kevin Tian">kevin.tian</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2686</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton - Disabled">ross</who>
    <bug_when>2008-01-26 11:09:50 +0000</bug_when>
    <thetext>Because dbus-launch is started on its own, it doesn&apos;t know what the session is.  This needs to be changed so that dbus-launch starts X, so it can track the session.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9409</commentid>
    <comment_count>1</comment_count>
    <who name="Kevin Tian">kevin.tian</who>
    <bug_when>2010-08-25 22:30:09 +0000</bug_when>
    <thetext>I can&apos;t reproduce this bug. Actually there&apos;s no clean way to exit X session from Sato environment. I tried to use &quot;killall xinit&quot; to bring X down. That way dbus-launch exits too.

I then check dbus-launch manual:

 --exit-with-session
              If  this  option  is provided, a persistent &quot;babysitter&quot; process
              will be created that watches stdin for HUP and tries to  connect
              to  the  X  server. If this process gets a HUP on stdin or loses
              its X connection, it kills the message bus daemon.

So far /etc/X11/Xsession does use &quot;--exit-with-session&quot;. So I think this bug can be closed. If there&apos;s anything I misunderstand, please reopen it then.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>