我正在使用这个 HVM 文件来创建一个新的来宾
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'
来宾创建时没有错误。但是没有创建 vnc 显示。任何想法,如何解决?
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
我用于我的线看起来像这样:
这会导致端口监听。但是,我使用的 Xen 版本比你稍旧。
你
vncunused = 0
在你的配置中失踪了。这是您的设置与我们在此处运行的设置之间的唯一真正区别。