Difference between revisions of "Configuring a VNC based Graphical Console for a Xen Paravirtualized domainU Guest"

From Virtuatopia
Jump to: navigation, search
(Configuring a Xen domainU for VNC Access)
(No difference)

Revision as of 19:46, 28 April 2008

So far in Xen Virtualization Essentials we have focused on running Xen domainU systems using just the text based console to interact with the system. It is not uncommon, however, to need to view and interact with a graphical desktop environment running on the guest operating system. This can be achieved using one of two technologies known as SDL and VNC. Probably the most flexible option is that provided by VNC.

In terms of displaying graphical desktop environments for a Xen guest, VNC offers two approaches. The first approach (covered in this chapter) involves suing VNC capabilities that are build into the Xen guest domain (domain0) to view and interact with the virtual frame buffer (vfb) of the domainU system. A second option is to run one or more VNC servers directly on the domainU system and connect directly to those servers. This approach will be covered in the next chapter (Running and Connecting to VNC Servers on a Xen Guest (domainU) System).

What is VNC?

VNC is an acronym for Virtual Network Computing and essentially provides a way to provide remote access to graphical desktop environments. The system consists of one or more VNC servers running on a remote system and VNC viewers running on a local system. The VNC server runs the graphical desktop on the remote system and transmits the appearance of the desktop to the VNC viewer. The VNC viewer in turn transmits user interactions with the desktop to the VNC server where they are relayed to the desktop environment. VNC uses compression algorithms to speed the display process and is supported on a wide range of platforms. This makes it possible, for example, to display a Linux desktop environment on a Windows system and vice a versa.

The VNC server and viewer components can communicate over any network connection including the internet.


VNC Security

Before proceeding it is important to note that VNC itself does not include any security measures. If a default VNC session is used over the internet, therefore, the session is subject to eavesdropping. It is, however, possible to use secure tunneling to protect VNC sessions. Both the secure and insecure methods of using VNC will be covered in this chapter.

Configuring a Xen domainU for VNC Access

In this chapter it is assumed that you have a Xen domainU system configured and are able to boot this system using the Xen text based console. If this is not the case return the Table of Contents and pick a method from those listed to configure and install a Xen domainU system.

Assuming you have a working text based Xen guest system, VNC access can be enabled by adding a single line to the Xen domainU configuration file: