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

Re: [Xen-users] xen & vnc



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.