<?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>21</bug_id>
          
          <creation_ts>2007-04-23 10:51:02 +0000</creation_ts>
          <short_desc>HOME not correctly set within X session</short_desc>
          <delta_ts>2010-12-21 06:07:12 +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>x86</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>high</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="tf">tf</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</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>887</commentid>
    <comment_count>0</comment_count>
    <who name="tf">tf</who>
    <bug_when>2007-04-23 10:51:02 +0000</bug_when>
    <thetext>The HOME var is set to &apos;/&apos; for anyting running under X.

It appears that the /etc/X11/Xinit script that is supposed to set it is never
executed; before the server is started the /etc/X11/Xsession is run, but that 
only set HOME_VOLATILE, not HOME. I am not sure whether the best solution is to
add HOME to Xsession, or whether the Xinit script should be chained in.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>893</commentid>
    <comment_count>1</comment_count>
    <who name="tf">tf</who>
    <bug_when>2007-04-25 11:22:41 +0000</bug_when>
    <thetext>I have added export HOME to the Xsession script at least for now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6425</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2009-05-28 00:22:55 +0000</bug_when>
    <thetext>Recent changes to Poky mean this is no longer a problem. The Xinit script has been removed and the Xserver script is run from su which makes sure the environment is sane.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>