Changes

Jump to: navigation, search
Configuring a Xen domainU for VNC Access
<pre>
vfb = [ 'type=vnc' ]
</pre>
 
This is the most basic of configuration options and will set up VNC access to the next available VNC port (starting at port number 5901) with no password access. To specify a specific port number and password add ''vncdisplay'' and ''vncpassd'' directives to the vfb line:
 
<pre>
vfb = [ 'type=vnc,vncdisplay=10,vncpasswd=s3cr3t' ]
</pre>
 
When the gust system boots up it will be accessible to the VNC viewer on port 5910 and access will be granted if ''s3cr3t'' is entered at the password prompt.
 
With the appropriate change made to the configuration file boot the system as usual, being sure to use the -c command-line option so that the text console is also available during the boot process.
 
== Connecting to the Guest Desktop using VNC Viewer ==
 
This section assumes that the desktop environment of the Xen domainU system is not being accessed over an insecure and unencrypted network (such as the internet). This approach is only safe for accessing the domainU desktop either from the Xen host or from a system on the same trusted network. For details on secure remote desktop access refer to the appropriate sections later in this chapter.
 
If no ''vncdisplay'' port number was specified on the ''vfb = '' configuration directive then the desktop is likely to be accessible on port 5901. Therefore, to access this display run the following command:
 
<pre>
vncviewer <IP Address of Xen Host>:5901
</pre>
 
where ''<IP Address of Xen Host>'' is the IP address or host name of the Xen host system on which the guest domainU system is running. if vncviewer is being run on teh Xen host then ''localhost'' will suffice.
 
If a port number was specified using the ''vncdisplay='' directive then this port needs to be specified. For example, the following command connects to port 5910 on the local system:
 
<pre>
vncviewer localhost:5910
</pre>
1,798
edits

Navigation menu