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

Re: [Xen-users] xen & vnc


  • To: alex <alex.faq8@xxxxxxxxx>, Ludovic BILLARD <ludovic.billard@xxxxxxx>
  • From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
  • Date: Thu, 4 Feb 2010 12:54:08 -0800 (PST)
  • Cc: xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 04 Feb 2010 12:54:53 -0800
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=MYlcI6HeF5VdORHxAFoTDP7pTXrqv447fgt93L2yNHnypxYRt3+BVsu0Rga4evRxamPlqqhHgJluUq+xceLQIOENTLcXxMlw0Q7YCEeVV3xhTahL+ooYb2J7ybdiWH76VYDK32ZKXM18JCFsdcEiAiLx9gM1nD5D3xdxK0pRiN8=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Could you try to start any other HVM not Win2008 ( say Ubuntu Server) ?
I never worked with Win HVMs.
veridian=1
might be an issue for 2008 (?)

Boris.

--- On Thu, 2/4/10, Ludovic BILLARD <ludovic.billard@xxxxxxx> wrote:

From: Ludovic BILLARD <ludovic.billard@xxxxxxxx>
Subject: Re: [Xen-users] xen & vnc
To: "alex" <alex.faq8@xxxxxxxxx>
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Thursday, February 4, 2010, 2:09 PM

On dom0 : win2008.cfg I've add these lines :
vncdisplay= 50
vnclisten='0.0.0.0'
vncpasswd='test'

xm create /etc/xen/win2008.cfg => ok

netstat :

xen-farm:~# netstat -antp
Connexions Internet actives (serveurs et établies)
Proto Recv-Q Send-Q Adresse locale          Adresse distante         
Etat        PID/Program name
tcp        0      0 0.0.0.0:47759           0.0.0.0:*               
LISTEN      2748/rpc.statd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               
LISTEN      2737/portmap
tcp        0      0 0.0.0.0:22              0.0.0.0:*               
LISTEN      3497/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               
LISTEN      3293/exim4
tcp6       0      0 :::22                   :::*                     
LISTEN      3497/sshd

There is no tcp connection listen on port 59**..
Any tips, how can I've log to find where is the problem?
I think my VM not start but successfully lauched by xen :

xen-farm:~# xm list
Name                                        ID   Mem VCPUs      State   
  Time(s)
Domain-0                                     0 14070     8     r-----    226.7
......
win2008                                     24  1024     1     ------      0.0


Time = 0.0 ??


Quoting alex <alex.faq8@xxxxxxxxx>:

> See netstat on dom0.
> EX: dom0 ip 192.168.0.1, add to domU config
> vncdisplay= 50
> vnclisten='0.0.0.0'
> vncpasswd='stronpassword'
>
> and connect from any domU by 192.168.0.1:5950
>
> 2010/2/4 Ludovic BILLARD <ludovic.billard@xxxxxxx>
>
>>  Hi.
>>
>> I've installed successfully xen domU (linux debian lenny) and 1 VM (linux
>> debian - work fine).
>>
>> Now I would like to install windows 2008 server.
>>
>> I've downloaded dvd iso to install it.
>>
>> I've configured my VM like this :
>>
>>
>>
>> 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='1024'
>>
>> vcpu='1'
>>
>> cpu='1'
>>
>> # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
>>
>> shadow_memory = 8
>>
>> name = "win2008"
>>
>> vif         = [ 'ip=192.168.0.6,mac=00:16:3E:4F:EB:03' ]
>>
>> acpi=1
>>
>> apic=1
>>
>> disk        = [ 'phy:/dev/GROUP_LVM/WIN-ROOT,ioemu:hda,w',
>> 'file:/root/win2008r2-64bits.iso,ioemu: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="d"
>>
>> sdl=0
>>
>> vnc=1
>>
>> vncconsole=1
>>
>> vncviewer=1
>>
>> vncpasswd=''
>>
>> usbdevice='tablet'
>>
>> keymap='fr'
>>
>>
>>
>> and I start it successfully :
>>
>>
>>
>> xm create /etc/xen/win2008.cfg
>>
>> Using config file "/etc/xen/win2008.cfg".
>>
>> VNC= 1
>>
>> Started domain win2008
>>
>>
>>
>> My xen server haven't X graphic server and I would like to connect on my
>> new vm to install by VNC.
>>
>> My server ip adress : 192.168.0.2
>>
>> My VM : 192.168.0.6 (windows)
>>
>> My station able to connect the VNC (windows 7 with vnc client) :
>> 192.168.0.5
>>
>> In the /etc/xen/xend-config.spx, I have this :
>>
>>
>>
>> (xend-unix-server yes)
>>
>> (network-script network-bridge)
>>
>> (vif-script vif-bridge)
>>
>> (dom0-min-mem 196)
>>
>> (vnc-listen '192.168.0.2')
>>
>>
>>
>> I tried to connect with vnc from my computer (192.168.0..5) to 192.168.0.2
>> or 192.168.0.6 and nothing work.
>>
>>
>>
>> My netstat on domU don't show any tcp connexion on TCP port like 59** ..
>>
>>
>>
>> Have you any idea to help me?
>>
>> I'm looking for google since 48 hours and I'm out of hope :(
>>
>>
>>
>> Best regards..
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users@xxxxxxxxxxxxxxxxxxx
>> http://lists.xensource.com/xen-users
>>
>
>
>
> --
> Best Regards,
> alex..faq8@xxxxxxxxx
>




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

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