On Tue, 2011-03-22 at 11:54 +0800, wuyu8242 wrote:

Guys, I must say I didn't understand the conversation.

I tried to infer something from the context, I hope I got it right -
wuyu8242 wants to follow the VM during KVM autotest execution to see
what is going on, but can't find the tools to check the VNC display.
Assuming I inferred correctly, here goes the step by step instructions:

1) If you execute kvm autotest on a machine where you have vnc access
to, to follow what's going on with the VM, it is easy. on Fedora 13,
there is vinagre, a VNC client:

Applications -> Internet -> Remote Desktop Viewer

On the toolbar, there's a 'Connect' button, if you click on it you'll
get a dialog that says:

"Which machine do you want to connect to?" and a series of options

Select protocol VNC, and on host, type:

localhost:5900

(5900 if kvm autotest says the vnc port is 0, 5901 if it is vnc port 1,
so on and so forth)

Then click on the 'Connect' button.

If for some reason the machine running kvm autotest is not the local
machine, just change localhost with the machine hostname, such as:

fudge.bakery.com:5900

Make sure port 5900 is accessible on either your local machine or the
remote machine. Then everything should work.

VNC is a protocol to transmit remote display of a generic machine over
the network. qemu has a built in VNC server, that will broadcast the
remote display to a given client. In this case, for Fedora 13, the
client is the vinagre application I am talking about. The VNC server can
be always accessed by the port 5900 of the remote machine (assuming vnc
port 0, and assuming 5900 is accessible, ie, not firewall blocked).

I hope this was useful,

Lucas

>  
>  
> wuyu8242 
> 
> ______________________________________________________________________
> 发件人: Amos Kong 
> 发送时间: 2011-03-22  11:34:50 
> 收件人: wuyu8242 
> 抄送: autotest 
> 主题: Re: Re: Re: About using kvm-autotest 
> 
> On Tue, Mar 22, 2011 at 11:20:46AM +0800, wuyu8242 wrote:
> > hi Amos,bother you again!
> pls look for the following question, thx very much!
> >  
> > wuyu8242
> > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> > 发件人: Amos Kong
> > 发送时间: 2011-03-17  15:49:59
> > 收件人: wuyu8242
> > 抄送: autotest
> > 主题: Re: Re: About using kvm-autotest
> > On Thu, Mar 17, 2011 at 03:41:28PM +0800, wuyu8242 wrote:
> > > hi Amos,
> > >    Thanks a lot!  the kvm autotest framework work well with your help!
> > >   
> > >    The attachment is the debug info, would you help me again to check it?
> > unattended_install.cdrom has completed ?
> > you need check guest status by # vncviewer :$vncport
> >  
> > hi Amos,bother you again!
> What is the role of vnc? the optional vnc in the
> > qemu-kvm command of the autotest script. so, I suspect the problem lies in 
> > this
> > option.
> 
> http://en.wikipedia.org/wiki/Virtual_Network_Computing
>  
> ok,I know about vnc. I want to ask you about the role must be exist?
> If I remove the option, what is the effect of the running?
> Because my vnc don't work. The tools need to be installed manually in
> fedora13, but I have install it several times, but it still don't
> work, so I want to remove the -vnc option.
>   
> > You reference (http://www.linux-kvm.org/page/KVM-Autotest/Test_Config_File)
> >  to change tests.cfg
> >  
> >  I have read the doc of Test_Config_File, but I still don't know how to 
> > change
> > the tests.cfg.
> >   
> .
> _______________________________________________
> Autotest mailing list
> Autotest@test.kernel.org
> http://test.kernel.org/cgi-bin/mailman/listinfo/autotest


_______________________________________________
Autotest mailing list
Autotest@test.kernel.org
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to