WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Reply:Re: [Xen-users] How does VNC in Xen worked?

Thank you all for your kind answers. By your letter and reading some Xen's code I think I've got what I can do on it.

I still have another question, and will raise a new thread.

Warm Regards,
Lucky.

"Mark Williamson" <mark.williamson@xxxxxxxxxxxx> wrote:
> Thanks for your explanation.
> I'm wondering whether there're any articles or papers discussing the
> implementation of VNC server in Xen system. I surfed XenWiki but did not
> find much.

There's not a large amount of documentation on how this works; the most likely
place to find information is probably by searching the mailing list archives
(I hear the archives on http://xen.markmail.org have a good search facility).

> I would wish to do a little development myself if more information
> avaliable since I'm familiar with vnc infrastructure.

On the most recent versions of Xen, VNC support for both HVM and PV guests is
provided by the Qemu's inbuilt VNC server.

Xen's Qemu-based "device model" process is responsible (for HVM guests) for
emulating a real graphics card then exporting its display over the network.
For PV guests, a special PV-aware version of the device-model is used to
connect to the guest's virtual framebuffer and export that using VNC.

Older versions of Xen used libvncserver in various places but that dependency
was eventually eliminated.

Does that help?

Cheers,
Mark

> Thank you again for your kindly help.
>
> Warm Regards,
> Lucky
>
> "Ross S. W. Walker" <rwalker@xxxxxxxxxxxxx> wrote: Lucky wrote:
> > Hi everyone,
> > I'm wondering the mechanism of VNC server in Xen. If anyone has
> > some reference article please kindly indicate.
> >
> > I'm wondering whether VNC in Xen need one to install VNC server
> > in the guest domain. I'm still trying to connect to my guest domain
> > (RHEL4) from a remote VNC client but had not succeed yet.
> >
> > While doing this, I'm wondering how VNC service in Xen worked. Does it:
> >
> > 1- Just running a vnc server in the guest domain and we could
> > configure to access the guest domain through a network bridge
> > in Xen. In this case, the VNC service indeed has nothing to
> > do with Xen system, and it's only an application in guest
> > domain which could get through Xen's supervisor to the network.
> >
> > Or:
> >
> > 2- VNC server was a part built in IOEMU module of Xen, and
> > directly grub the keyboard, mouse, and screen IO from the
> > supervisor. In this case, the guest domain OS is not aware
> > about whether the VNC service is running, and it just
> > receives normal input/output IO from Xen system.
>
> It's #2.
>
> > The above are two possible way that I could imaging, but if
> > VNC is running by other miracle methods, please kindly
> > explain or indicate references.
>
> Take a look at /etc/xend-config.sxp for allowing guest vnc
> to listen on all interfaces by default (normally it's just the
> loopback).
>
> Or if you wish to configure it per-guest (more secure) you
> will need the vnclisten option set to '0.0.0.0' in the guests'
> config files to have them listen on all interfaces.
>
> -Ross
>
> ______________________________________________________________________
> This e-mail, and any attachments thereto, is intended only for use by
> the addressee(s) named herein and may contain legally privileged
> and/or confidential information. If you are not the intended recipient
> of this e-mail, you are hereby notified that any dissemination,
> distribution or copying of this e-mail, and any attachments thereto,
> is strictly prohibited. If you have received this e-mail in error,
> please immediately notify the sender and permanently delete the
> original and any copy or printout thereof.



--
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)



品质打动世界,星河湾全新三期热销中VIP:8610-85519999
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users