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] Allowing vnc to a domU on xen 3.2

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Allowing vnc to a domU on xen 3.2
From: James Pifer <jep@xxxxxxxxxxxxxxxx>
Date: Mon, 09 Feb 2009 10:26:52 -0500
Delivery-date: Mon, 09 Feb 2009 07:31:38 -0800
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>
Mailscanner-null-check: 1234802853.5071@WkS+1uRyr7IFm/odb0m84g
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I'm running xen-3.2.0_16718_18-0.3. How do you allow someone to vnc to a
specific domU?

I changed xend-config.sxp to have:
(vnc-listen '')

So this enables vnc listen on all interfaces, right?

Is there a way to limit what subnets or ip's are allowed?

There's also a vncpasswd setting. Does it use the same password on all
the domU's?

Next, how do you enable it in the domU since this version of xen stores
all of this in the xenstore? So if I do an xm list -l of a domU I get
the config shown at the bottom. I think vnc is already enabled, but how
do I get to this domU with vncviewer?


    (domid 22)
    (on_crash destroy)
    (uuid 5f14eff8-d651-8f86-0d45-b032cb9d9c49)
    (bootloader_args )
    (vcpus 1)
    (name server1)
    (on_poweroff destroy)
    (on_reboot restart)
    (bootloader )
    (maxmem 2048)
    (memory 2048)
    (shadow_memory 17)
    (features )
    (on_xend_start ignore)
    (on_xend_stop ignore)
    (start_time 1234031524.34)
    (cpu_time 4421.91163849)
    (online_vcpus 1)
            (kernel /usr/lib/xen/boot/hvmloader)
            (hpet 0)
            (stdvga 0)
            (extid 0)
            (serial pty)
            (vncunused 1)
            (boot c)
            (rtc_timeoffset -18000)
            (pci ())
            (pae 1)
            (hap 1)
            (acpi 1)
            (localtime 1)
            (timer_mode 0)
            (vnc 1)
            (nographic 0)
            (guest_os_type default)
            (apic 1)
            (monitor 0)
            (usbdevice tablet)
            (device_model /usr/lib/xen/bin/qemu-dm)
            (usb 1)
            (xauthority //.Xauthority)
            (isa 0)
            (notes (SUSPEND_CANCEL 1))
    (status 2)
    (state -b----)
    (store_mfn 524286)
            (uuid 1c455b73-650c-3173-ee4d-8a24624688ea)
            (script vif-bridge)
            (mac 00:16:3e:46:17:53)
            (model rtl8139)
            (type ioemu)
            (backend 0)
            (uname file:/var/lib/xen/images/dvstserver/disk0)
            (uuid 76ddddd5-1e1d-8167-6712-234f98bd446b)
            (mode w)
            (dev hda:disk)
            (backend 0)
            (bootable 1)
            (vncunused 1)
            (type vnc)
            (uuid 4abc3949-ab97-562f-9341-ea00ea133de1)
            (location localhost:5900)
            (protocol vt100)
            (location 3)
            (uuid e66caf6f-b3ac-1167-b386-abeed533817f)

Xen-users mailing list

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