Jump to: navigation, search
no edit summary
<table border="0" cellspacing="0" width="100%">
<td width="20%">[[An Overview of Virtualization Techniques|Previous]]<td align="center">[[Xen Virtualization Essentials|Table of Contents]]<td width="20%" align="right">[[Installing and Running Windows XP or Vista as a Xen HVM domainU Guest|Next]]</td>
<td width="20%">An Overview of Virtualization Techniques<td align="center"><td width="20%" align="right">Installing and Running Windows XP or Vista as a Xen HVM domainU Guest</td>
== Connecting to the HVM domainU Guest Graphical Console ==
If SDL was chosen for the graphical console then the console should appear when the guest starts up. If, on the other hand, VNC was selected and the HVM domainU was not configured to automatically start ''vncviewer'' it is now necessary to connect manually. By default the VNC port is 5900 + the ID of the domain to which you wish to connect (which can be obtained using the ''xm list'' command). For example, to connect to domain ID 10:
vncviewer localhost:5910
In my experience this is not always the case and the best way to find out which port is being used is to run the following command:
ps -ef | grep vnc
root 2992 2441 13 14:51 ? 00:00:00 /usr/lib/xen/bin/qemu-dm -d 11 -vcpus 1 -boot cd
-serial pty -acpi -domain-name XenHVMGuest -net nic,vlan=1,macaddr=00:16:3e:2e:10:b0,model=rtl8139
-net tap,vlan=1,bridge=xenbr0 -vnc -vncviewer
As we can see from the above output, the Xen guest named ''XenHVMGuest'' is accessible using Using this information we would, therefore, connect as follows:
Once the installation of the guest operating system has completed be sure to reverse the boot order in the configuration file if you no longer wish to have the CD/DVD drive first:
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy

Navigation menu