On Thu, Dec 31, 2009 at 3:37 AM, Yolkfull Chow <yzhou@xxxxxxxxxx> wrote: > On Fri, Dec 18, 2009 at 09:25:24AM -0600, Ryan Harper wrote: >> >> Can we make this configurable? vncviewer does have a few bugs that kvm >> tends to expose; it'd be good to let the admin set this value. > > Hi Ryan, > > Sorry for late reply and thanks very much for these suggestions. > > During our testing, we found a problem for this test: > the sessions autotest server gets from its client machines will not > get X services and this test will always fail with following error: > > 12/29 17:04:44 DEBUG| vnc:0020| Try to connect to guest via vnc, vnc_port is: 1 > 12/29 17:04:44 DEBUG| vnc:0023| Using command to vnc connect: vncviewer localhost:1 > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) VNC Viewer Free Edition 4.1.2 for X - built Jan 26 2009 11:52:08 > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) Copyright (C) 2002-2005 RealVNC Ltd. > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) See http://www.realvnc.com for information on VNC. > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) vncviewer: unable to open display "" > 12/29 17:04:44 DEBUG|kvm_subpro:0686| (vnc) (Process terminated with status 1) > 12/29 17:04:44 ERROR| kvm:0063| Test failed: Vnc connect to guest failed > > Therefore, we need to use socket to connect to vncserver of qemu-kvm and analyse the header > info readed from socket connection. I will improve this test later. Yes, and even though reading the header info doesn't quite guarantee that we'll have bug-free vnc streaming. If you have a new version of the test with these limitations worked out, please let us know. Cheers, -- Lucas -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html