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/
Home Products Support Community News


[Xen-users] VNC on Xen failure

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] VNC on Xen failure
From: Brad Cable <brad@xxxxxxxxxx>
Date: Thu, 10 Jun 2010 08:36:03 -0500
Delivery-date: Thu, 10 Jun 2010 06:37:18 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.20 (2009-06-14)
The following config works and creates a good VM in Xen:

| # Kernel Setup
| kernel = "/boot/vmlinuz-"
| # Memory
| memory = "256"
| # Disk
| disk = [
| "file:/opt/xen/domains/110/sda1.img,sda1,w",
| "file:/opt/xen/domains/110/swap.img,sda2,w"
| ]
| # container name
| name = "110"
| hostname = "boo"
| # Networking
| vif = ["type=ieomu, bridge=xenbr0"]
| # VNC
| vnc = 1
| #vfb = [ 'type=vnc,vncdisplay=2,vnclisten=,vncpasswd=110' ]
| # Behavior Settings
| root = "/dev/sda1"
| extra = "fastboot"

But when I uncomment the VFB line, I get the following error after it hangs for 
at least 30 seconds:

| [root@customer 110]# xm create boo.cfg
| Using config file "./boo.cfg".
| Error: Device 0 (vkbd) could not be connected. Hotplug scripts not working.

Any ideas?

Part two of this question:

Sometimes it actually works, and a port is opened. When this happens, nmap 
shows the VNC ports open and I can connect via the VNC client, but it just 
hangs at "Connection established." and no VNC display shows up. I've tried 
multiple VNC clients (TightVNC, TightVNC Java Console, RealVNC), but they all 
fail to connect.

Does VNC through Xen require X to be started in order to function? I was under 
the impression that it would show the console screen, so I'm confused as to why 
all these issues are occurring.


Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>