WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xen & vnc

To: alex <alex.faq8@xxxxxxxxx>
Subject: Re: [Xen-users] xen & vnc
From: Ludovic BILLARD <ludovic.billard@xxxxxxx>
Date: Thu, 04 Feb 2010 20:09:36 +0100
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 04 Feb 2010 11:10:21 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <9e97b1231002040734m58c670a9i534559e29fac661d@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <-5371523177339240713@unknownmsgid> <9e97b1231002040734m58c670a9i534559e29fac661d@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Internet Messaging Program (IMP) H3 (4.1.6)
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

<Prev in Thread] Current Thread [Next in Thread>