<?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>11987</bug_id>
          
          <creation_ts>2017-08-28 08:13:24 +0000</creation_ts>
          <short_desc>Refkit X11 image: select the &quot;Exit&quot; in twm does not terminate X11 fully</short_desc>
          <delta_ts>2018-10-11 19:26:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-platform-support</component>
          <version>2.4</version>
          <rep_platform>MinnowBoard Max</rep_platform>
          <op_sys>x86</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="yeoh ee peng">ee.peng.yeoh</reporter>
          <assigned_to name="Jussi Laako">jussi.laako</assigned_to>
          <cc>jku</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="yeoh ee peng">ee.peng.yeoh</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>76182</commentid>
    <comment_count>0</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2017-08-28 08:13:24 +0000</bug_when>
    <thetext>Environment: 
Image: refkit-image-common-x11-intel-corei7-64-2017-08-04_06-28-07-build-244.wic.xz  
Boards: Intel Joule 570x &amp; MinnowMax


Defect description:
After execute startx and X11 successfully launched, inside the X11 GUI (twm), right click mouse to select the &quot;Exit&quot; in twm does not terminate X11 fully.

Expected:
Once select the &quot;Exit&quot; inside X11 GUI (twm), it will successfully terminate the X11 and return to virtual terminal

Actual:
It only partially terminate the X11, some of the X11 GUI disappeared and X11 windows no longer able to interact with mouse click. But it does not return to virtual terminal.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76525</commentid>
    <comment_count>1</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-09-05 14:17:57 +0000</bug_when>
    <thetext>For the record, I can&apos;t tell if this is a bug in twm, refkit X session startup or oe-core (but sato manages to exit cleanly so probably not oe-core).

On the other hand, if the twm environment is not meant to be a production thing then this is unlikely to be a very important issue...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76529</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2017-09-05 14:50:23 +0000</bug_when>
    <thetext>RefKit doesn&apos;t have any customizations for X11/twm (or Wayland/Weston for that matter). It just pulls in packages from oe-core as-is...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76568</commentid>
    <comment_count>3</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-09-06 08:26:12 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; RefKit doesn&apos;t have any customizations for X11/twm (or Wayland/Weston for
&gt; that matter). It just pulls in packages from oe-core as-is...

twm is not in oe-core so the Yocto team hasn&apos;t tested it in any way.

The oe-core X session startup is just fault tolerant enough that if there&apos;s no /usr/bin/x-session-manager then /usr/bin/x-window-manager is exec&apos;d (and twm provides this) so it is possible that there is no other session handling in refkit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76611</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2017-09-07 08:10:09 +0000</bug_when>
    <thetext>Ahh, yes twm is from meta-oe:
http://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-graphics/xorg-app/twm_1.0.9.bb

It is of course not intended for any final product, but it is there only so that X11 is functional to some extent.

This is only thing RefKit has regarding X11:
https://github.com/intel/intel-iot-refkit/blob/master/meta-refkit-core/conf/distro/include/refkit-core-x11.inc

Intention is to keep X11 to as bare minimum as possible. Since final products based on RefKit would likely either use meta-qt5 (embedded) or some proprietary graphics framework in a way that there is only single application active/possible, we want to minimize amount/size of things that wouldn&apos;t be used anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81830</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-10-11 19:26:55 +0000</bug_when>
    <thetext>Refkit work isn&apos;t continuing so mark as obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>