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

Re: [Xen-users] xen & vnc



Le jeudi 04 fÃvrier 2010 Ã 16:24 +0100, Ludovic BILLARD a Ãcrit :
> 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..

Hello,

If your Windows machine doeas not have the rught vnc server, you will
not succeed.
You can try to connect with the "terminal server" on W2K8, "rdesktop"
works fine on Linux, you can connect through a Windows machine.
The prblem is that the remote connection is/was disabled by default in
Windows (XP or 2K3) and you must first connect to Windows and enable
it !

Regards

JPP




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