Bug 10528

Summary: Add VNC support for cli containers for QEMU
Product: [Yocto Project Subprojects] CROPS Reporter: brian avery <brian.avery>
Component: crops-defaultAssignee: Unassigned <unassigned>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: jose.perez.carranza, libertad.gonzalez.de.la.cruz, randy.macleod, ross.burton, tim.orling
Version: 2.3   
Target Milestone: 5.99   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Bug Depends on:    
Bug Blocks: 9592    

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