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

Fwd: Re: [Xen-users] Xen, HVM guest won't start without VNC=1



--- Begin Message ---
On Tue December 25 2007 2:25:26 pm you wrote:
> On Wed December 19 2007 5:45:10 pm Norton, Jerry wrote:
> > kernel = '/usr/lib/xen-3.0.3-1/boot/hvmloader'
> > builder = 'hvm'
> > device_model='/usr/lib/xen-3.0.3-1/bin/qemu-dm'
> > memory = '256'
> > disk = [
> > 'phy:/dev/xendisks/base_deb,ioemu:hda,w','phy:/dev/cdrom,hdc:cdrom,r' ]
> > name = base_deb'
> > vif = ['type=ioemu,bridge=xenbr0,mac=00:19:c0:a8:01:c9']
> > boot='c'
> > vnc=1
> > vncviewer=0
> > vncunused=0
> > vncdisplay=2
> > vnclisten='0.0.0.0'
> > serial='pty'
>
> When Igor says 'bind vnc to localhost', the simple way to do that is
> vnclisten='127.0.0.1'. Then only someone who has ssh access to the xen
> server can get a vnc window. He's also right that either sdl or vnc must
> =1. That bit me recently when vnc was failing. And his iptables trick is
> also nice. Note that the iptables '--dport' option accepts a port range, as
> in '--dport 5900:5910', etc.

Oh, sorry Szabolcs (original poster); I also meant to mention:

Make sure you have the 'ioemu' options Jerry uses as above in the 'disk' 
and 'vif' parms. It makes a difference, even without PV drivers. (Although, I 
haven't tried the case where the image is on a physical partition, as you 
have it.) Also, basic Windows network setup: make sure your MTU is setup 
right. If you have a PPPOE connection to your ISP, your MTU is 1492, not 
1500, and needs to be setup in the Windows registry. I was original getting 
half the performance of my 3mps connection, but now I've gotten it up to 2.6. 
Disk performance is still half, though, and you get hits  on dom0, too.

--- End Message ---
_______________________________________________
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®.