Changes

Jump to: navigation, search
Connecting to the HVM dominU Guest Graphical Console
== Connecting to the HVM dominU 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 it is now necessary and the domainU was not configured to connect using 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:
<pre>
vncviewer localhost:5910
</pre>
 
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:
 
<pre>
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 xenhvm -net nic,vlan=1,macaddr=00:16:3e:2e:10:b0,model=rtl8139 -net tap,vlan=1,bridge=xenbr0 -vnc 127.0.0.1:0 -vncviewer
</pre>
 
As we can see, the Xen guest is accessible using 127.0.0.1:0. Using this information we would connect as follows:
 
<pre>
vncviewer 127.0.0.1:0
</pre>
1,798
edits

Navigation menu