<?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>11985</bug_id>
          
          <creation_ts>2017-08-28 08:03:00 +0000</creation_ts>
          <short_desc>Refkit wayland image: failed to return into virtual terminal after terminate wayland (ctrl+alt+backspace)</short_desc>
          <delta_ts>2018-10-11 19:28:36 +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>76180</commentid>
    <comment_count>0</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2017-08-28 08:03:00 +0000</bug_when>
    <thetext>After successful bootup and automatically loaded into weston compositor, click on shortcut key (ctrl+alt+backspace) to terminate weston, the weston termination face exception with message &quot;coult not create XKB compose table for locale &apos;C&apos;. Disabiling compose&quot;.  

Expected behavior: Once select shortcut key (ctrl+alt+backspace) to terminate weston, it shall return to the virtual terminal

This happen on both intel joule 570 and minnowmax.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76183</commentid>
    <comment_count>1</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2017-08-28 08:14:49 +0000</bug_when>
    <thetext>Environment:
Image: refkit-image-common-wayland-intel-corei7-64-2017-08-04_06-28-07-build-244.wic.xz 
Boards: Intel Joule 570x &amp; MinnowMax</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76496</commentid>
    <comment_count>2</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-09-04 13:17:25 +0000</bug_when>
    <thetext>&gt; Expected behavior: Once select shortcut key (ctrl+alt+backspace) to terminate
&gt; weston, it shall return to the virtual terminal

Is this really a designed feature of refkit? that escaping to login is just a keypress away?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76514</commentid>
    <comment_count>3</comment_count>
    <who name="yeoh ee peng">ee.peng.yeoh</who>
    <bug_when>2017-09-05 01:55:19 +0000</bug_when>
    <thetext>At bootup, one of the virtual terminal was used to launch weston. 

If you switch to another virtual terminal and launch weston manually, you can exit weston cleanly by press key sequence (ctrl+alt+backspace). This quit weston
key sequence was documented at below URL. 
https://wiki.archlinux.org/index.php/wayland

But in the default virtual terminal used at bootup, when you press quit weston key sequence (ctrl+alt+backspace), it does not exit weston cleanly, instead it was showing exception message &quot;coult not create XKB compose table for locale &apos;C&apos;. Disabiling compose&quot;.

Is this the designed feature of refkit?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76516</commentid>
    <comment_count>4</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2017-09-05 08:01:33 +0000</bug_when>
    <thetext>By design, I would like to disable such key combinations, and VT switching altogether. But I don&apos;t know if this is possible with Weston...

But overall, Weston is on RefKit just as a demo that graphics output works. It is not configured to do anything useful, because there&apos;s nothing it would be used for included in RefKit. So it is just for developers so they can start adding things there that would actually use it and configure it to their liking.

Only RefKit requirement is &quot;Wayland/Weston is there and can be started&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76517</commentid>
    <comment_count>5</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2017-09-05 08:34:49 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; By design, I would like to disable such key combinations, and VT switching
&gt; altogether. But I don&apos;t know if this is possible with Weston...
&gt; 
&gt; But overall, Weston is on RefKit just as a demo that graphics output works.
&gt; It is not configured to do anything useful, because there&apos;s nothing it would
&gt; be used for included in RefKit. So it is just for developers so they can
&gt; start adding things there that would actually use it and configure it to
&gt; their liking.

So I&apos;d say don&apos;t spend too much time on this one then :)

It is easily configurable in weston.ini:

  [shell]
  allow-zap=false
  vt-switching=false

The file can be put in e.g. /etc/xdg/weston/weston.ini</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76530</commentid>
    <comment_count>6</comment_count>
    <who name="Jussi Laako">jussi.laako</who>
    <bug_when>2017-09-05 14:51:17 +0000</bug_when>
    <thetext>OK, thanks! I&apos;ll add that to RefKit through a bbappend...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>81832</commentid>
    <comment_count>7</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2018-10-11 19:28:36 +0000</bug_when>
    <thetext>Refkit work isn&apos;t continuing so mark as obsolete.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>