Bug 10528 - Add VNC support for cli containers for QEMU
Summary: Add VNC support for cli containers for QEMU
Status: RESOLVED FIXED
Alias: None
Product: CROPS
Classification: Yocto Project Subprojects
Component: crops-default (show other bugs)
Version: 2.3
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 5.99
Assignee: Unassigned
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks: 9592
  Show dependency tree
 
Reported: 2016-10-28 18:59 UTC by brian avery
Modified: 2025-10-23 15:24 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brian avery 2016-10-28 18:59:54 UTC
The current containers need to have a vnc session available so that we an connect a vnc client to them and so that things like $DISPLAY=42:0 qemu can run and we can connect to the container using a vnc client.
Running such a container you would need to  map the vnc port 
aka
-p 6900:5900 for example and then you can connect to the container x display.
Comment 1 brian avery 2017-04-27 07:16:15 UTC
Demoting this to a medium+. It's not a part of YP so much as part of a derivative project (CROPS). Since HIGH bugs should be release blockers for YP or candidates for release blockers, having CROPS bugs be HIGH just get's confusing.
Comment 2 brian avery 2017-07-30 13:31:52 UTC
Moving to M3
Comment 3 brian avery 2017-08-25 22:07:42 UTC
to M4
Comment 4 brian avery 2017-12-08 21:54:04 UTC
Moving to Joshua.

The PR to implement this is on github.  The test to verify it works is not.

A test could look something like:
  virtualenv FROG

  . FROG/bin/activate


  pip install vncdotool


  vncdo -s 192.168.168.88  -p "" capture screen.png


  identify -unique -verbose screen.png  | egrep lime

assuming that we ran a clock with a green background.

$>xclock -bg green
Comment 5 Chin Huat Ang 2018-03-19 22:51:15 UTC
runqemu publicvnc option works for me too, I'm able to connect to qemu's VNC display after mapping -p 5900:5900
Comment 6 Randy MacLeod 2023-10-24 14:24:39 UTC
Bulk move from 4.99 or 0.00 to 5.99