Xen Windows Guest spawn doesn't spawn a vnc display

Posted by Henrik P. Hessel on Server Fault See other posts from Server Fault or by Henrik P. Hessel
Published on 2009-08-12T18:51:39Z Indexed on 2010/12/28 2:55 UTC
Read the original article Hit count: 362

Filed under:
|

I'm using this HVM File to create a new guest

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

# Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
shadow_memory = 64
name = "hessel-windows2008"
vif = [ 'ip=188.40.xx.xx,mac=00:16:3E:C1:8F:CE' ]

acpi = 1
apic = 1
disk = [ 'file:/home/xen/disks/hessel/win2008/win2008.img,hda,w', 'file:/home/xen/isopool/win2008_32.iso,hdc:cdrom,r' ]

device_model = '/usr/lib/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
vncdisplay=1 
vnclisten="0.0.0.0"
vncconsole=1
vncpasswd='howtoforge'

stdvga=0 

serial='pty'
usbdevice='tablet'

The guest is created without an error. But no vnc display is created. Any ideas, how to fix that?

prometheus:~# netstat -ant

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:615           0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
tcp        0      0 127.0.0.1:6010          0.0.0.0:*               LISTEN
tcp        0    232 188.40.xx.xx:8080      195.36.75.26:54032      ESTABLISHED
tcp        0      0 188.40.xx.xx:8080      195.36.75.26:53085      ESTABLISHED
tcp6       0      0 :::8080                 :::*                    LISTEN
tcp6       0      0 :::53                   :::*                    LISTEN
tcp6       0      0 :::22                   :::*                    LISTEN
tcp6       0      0 ::1:6010                :::*                    LISTEN

© Server Fault or respective owner

Related posts about xen

Related posts about vnc