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] VNC issues

To: chris <tknchris@xxxxxxxxx>
Subject: Re: [Xen-users] VNC issues
From: Guaitaku Boluda <guaitaku@xxxxxxxx>
Date: Wed, 16 Jun 2010 11:22:45 +0000 (GMT)
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 16 Jun 2010 04:28:21 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1276687365; bh=4+Voh4JHfpGDsPDHS+ckTZ5v/4o1TmtIi1D53mNV1dI=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=RflTKMlGfzpYqsWRBaXaRrZ1dFvBIgDYgxlIQGNymFa+D+gT/BpvMt3Z7nXfMIvLBHfjB9XbCjS1yelSv3FxuRaeNVH9EPkrdK+bnk3Jo+187V+9AASopkufehSL5U2xYoSyA83py5iw1i4OnDjAmTv6352E8ut97lcf/PAXcYs=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.es; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=OBnoro6BiQp9r1AtlSlbLmDw95ZN5cjiHNWMEGL+1Pi9kDisrAmd85gFRldNdInlfb8Q+XuPK8o4w6qr1c/76ATdw5QGdEjThSCXOAiY0F2ise7HwESi6P4Mt+lfzbktKOnKIiJG1OHDWbNCvALJP3iOO5eiZAR4bMRZx7UpWBQ=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin-8vY6RjYJ7reBFozsKgQ8_xw9PUBlWI1pRzWK@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: <888772.32788.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTilFGMLbtiYCZPH4purzRBZnj5dgmxyDswa-Sw09@xxxxxxxxxxxxxx> <599579.63030.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTikG7h90hnyZRLdkPEPme-L_XC0C2wvCB32QF2x-@xxxxxxxxxxxxxx> <957249.40760.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTin-8vY6RjYJ7reBFozsKgQ8_xw9PUBlWI1pRzWK@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
:/etc/xen# /etc/init.d/xend restart
Restarting XEN control daemon: xend.
:/etc/xen# netstat -an --programs | grep 5900
:/etc/xen# netstat -an --programs | grep 5901
:/etc/xen#

:( I don't know what to try. 


Thaks a lot.


De: chris <tknchris@xxxxxxxxx>
Para: Guaitaku Boluda <guaitaku@xxxxxxxx>
Enviado: mié,16 junio, 2010 13:13
Asunto: Re: [Xen-users] VNC issues

the config looks ok. did you restart xend after editing? You should
see something like this in netstat:

# netstat -an --programs | grep 5900
tcp        0      0 0.0.0.0:5900            0.0.0.0:*
LISTEN      9753/qemu-dm

On Wed, Jun 16, 2010 at 4:43 AM, Guaitaku Boluda <guaitaku@xxxxxxxx> wrote:
> There are two Xend processes:
> # ps aux | grep xend
> root      7084  0.0  0.0  96316  9324 ?        S<   Jun14   0:00 python
> /usr/lib/xen-3.2-1/bin/xend start
> root      7086  0.0  0.0 222696 14016 ?        S<l  Jun14   0:52 python
> /usr/lib/xen-3.2-1/bin/xend start
>
> To make it simple I've uploaded config http://codeviewer.org/view/code:fe9
> here.
>
> Thanks
>
>
>
>
> ________________________________
> De: chris <tknchris@xxxxxxxxx>
> Para: Guaitaku Boluda <guaitaku@xxxxxxxx>
> CC: xen-users@xxxxxxxxxxxxxxxxxxx
> Enviado: mar,15 junio, 2010 17:52
> Asunto: Re: [Xen-users] VNC issues
>
> whats your xend-config.sxp look like? how about netstat -an --programs
> | grep 5900
> is xend running?
>
> On Tue, Jun 15, 2010 at 9:30 AM, Guaitaku Boluda <guaitaku@xxxxxxxx> wrote:
>> There is no firewall on it (fresh Debian install with XEN only) and I
>> can't
>> see any VNC process on netstat (also any vnc port).
>> Thanks
>> ________________________________
>> De: chris <tknchris@xxxxxxxxx>
>> Para: Guaitaku Boluda <guaitaku@xxxxxxxx>
>> CC: xen-users@xxxxxxxxxxxxxxxxxxx
>> Enviado: mar,15 junio, 2010 14:17
>> Asunto: Re: [Xen-users] VNC issues
>>
>> does netstat show it listening on 0.0.0.0 in dom0? do you have any
>> firewalls in place?
>>
>> On Mon, Jun 14, 2010 at 11:27 AM, Guaitaku Boluda <guaitaku@xxxxxxxx>
>> wrote:
>>> I've recently installed Debian Lenny witch Xen (xen-utils, xen.tools
>>> and  xen-linux-system-2.6.26-2-xen-amd64).
>>> I want to virtualize some windows servers, but I'm unable to connect to
>>> localhost VNC when I start the vm (xm create) to proceed with windows
>>> instalation.
>>> The VM config is:
>>>
>>> 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 = 2048
>>> # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
>>> shadow_memory = 8
>>> name = "w2k8"
>>> vif = [ 'type=ioemu, bridge=eth1' ]
>>> acpi = 1
>>> apic = 1
>>> disk = [ 'file:/virtual/vm/w2k8.img,hda,w',
>>> 'file:/virtual/iso/w2k8.iso,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="dc"
>>> sdl=0
>>> vnc=1
>>> vncconsole=1
>>> vncpasswd=''
>>> #serial='pty'
>>> #usbdevice='tablet'
>>>
>>> And I've activated the listenig to 0.0.0.0 into the xend config.
>>>
>>> When I start the VM I try to connect to the vnc (vncviewer localhost
>>> or vncviewer localhost:1) and it allways returns:
>>> vncviewer: ConnectToTcpAddr: connect: Connection refused
>>> Unable to connect to VNC server
>>>
>>>
>>> I'm doing something wrong???
>>>
>>> Thanks a lot,
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>
>>
>
> _______________________________________________
> 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
<Prev in Thread] Current Thread [Next in Thread>