[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] VNC issues


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Guaitaku Boluda <guaitaku@xxxxxxxx>
  • Date: Mon, 14 Jun 2010 15:27:58 +0000 (GMT)
  • Delivery-date: Tue, 15 Jun 2010 02:53:48 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=nnXznSBCVrhe60GmPmpQmkZB2gF2cHFjqZtTmptPmaplRxtgcPT+XJi7UwPY5zwlBVbegntKcjqPm36Nwwki/kcDTRzoCHWXkilqWlYNHb7mAc6VKZ+2k98IiZ8B1Tx3dP5caHhxp0l7JFZJYNOj6+aVeKV5Qh8U5Ixh8mjRYEQ=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

I've recently installed Debian Lenny witch Xen (xen-utils, xen.tools and  xen-linux-system-2.6.26-2-xen-amd64).

I want to virtualize some windows servers, but I'm unable to connect to localhost VNC when I start the vm (xm create) to proceed with windows instalation.

The VM config is:


import os, re
arch = os.uname()[4]
if re.search('64', arch):
    arch_libdir = 'lib64'
else:
    arch_libdir = 'lib'

kernel = "/usr/lib/xen-3.2-1/boot/hvmloader"
builder='hvm'
memory = 2048

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 8
name = "w2k8"
vif = [ 'type=ioemu, bridge=eth1' ]
acpi = 1
apic = 1
disk = [ 'file:/virtual/vm/w2k8.img,hda,w', 'file:/virtual/iso/w2k8.iso,hdc:cdrom,r' ]

device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'

#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="dc"
sdl=0
vnc=1
vncconsole=1
vncpasswd=''

#serial='pty'
#usbdevice='tablet'


And I've activated the listenig to 0.0.0.0 into the xend config.


When I start the VM I try to connect to the vnc (vncviewer localhost or vncviewer localhost:1) and it allways returns:

vncviewer: ConnectToTcpAddr: connect: Connection refused
Unable to connect to VNC server



I'm doing something wrong???


Thanks a lot,




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.