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@lists.xensource.com http://lists.xensource.com/xen-users
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@yahoo.es> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: xen-users@lists.xensource.com 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@yahoo.es> 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@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@yahoo.es> 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@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > 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@yahoo.es> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: xen-users@lists.xensource.com 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@yahoo.es> 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@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > 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@yahoo.es> 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@lists.xensource.com >> http://lists.xensource.com/xen-users >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
:/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@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> 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@yahoo.es> 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@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > 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@yahoo.es> 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@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> CC: xen-users@lists.xensource.com >> 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@yahoo.es> >> 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@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
You would only see listening connections if you have a guest running with a vnc console enabled.... do you have one running that you believe vnc should be working on ? If so, please show that config as well. On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> :/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@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > 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@yahoo.es> 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@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> CC: xen-users@lists.xensource.com >> 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@yahoo.es> >> 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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> CC: xen-users@lists.xensource.com >>> 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@yahoo.es> >>> 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@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Yes, there is one guest OS, wainting for install process. :/etc/xen# xm list Name ID Mem VCPUs State Time(s) Domain-0 0 14063 8 r----- 533.5 w2k8 5 2047 1 ------ 0.0 :/etc/xen# The config from this DomU is: http://codeviewer.org/view/code:fea Thanks ________________________________ De: chris <tknchris@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: xen-users@lists.xensource.com Enviado: mié,16 junio, 2010 13:25 Asunto: Re: [Xen-users] VNC issues You would only see listening connections if you have a guest running with a vnc console enabled.... do you have one running that you believe vnc should be working on ? If so, please show that config as well. On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> :/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@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > 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@yahoo.es> 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@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> CC: xen-users@lists.xensource.com >> 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@yahoo.es> >> 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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> CC: xen-users@lists.xensource.com >>> 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@yahoo.es> >>> 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@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
try commenting out vncconsole=1 and vncviewer=1 in my working domU i have: vnc=1 vncviewer=1 see if that makes any difference after you change it and recreate the domain On Wed, Jun 16, 2010 at 7:46 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> Yes, there is one guest OS, wainting for install process. > :/etc/xen# xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 14063 8 r----- > 533.5 > w2k8 5 2047 1 ------ > 0.0 > :/etc/xen# > The config from this DomU is: http://codeviewer.org/view/code:fea > > Thanks > > > ________________________________ > De: chris <tknchris@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > Enviado: mié,16 junio, 2010 13:25 > Asunto: Re: [Xen-users] VNC issues > > You would only see listening connections if you have a guest running > with a vnc console enabled.... do you have one running that you > believe vnc should be working on ? If so, please show that config as > well. > > On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote: >> :/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@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> 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@yahoo.es> >> 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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> CC: xen-users@lists.xensource.com >>> 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@yahoo.es> >>> 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@gmail.com> >>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>> CC: xen-users@lists.xensource.com >>>> 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@yahoo.es> >>>> 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@lists.xensource.com >>>>> http://lists.xensource.com/xen-users >>>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
The difference is now when I create the domU it says VNC=1: :/virtual/vm# xm create w2k8 Using config file "./w2k8". VNC= 1 Started domain w2k8 Now I have: vnc=1 vncviewer=1 #vncconsole=1 vncpasswd='''' Also I''ve tried many variables commenting or uncomment those variables. Thanks ________________________________ De: chris <tknchris@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: xen-users@lists.xensource.com Enviado: mié,16 junio, 2010 13:50 Asunto: Re: [Xen-users] VNC issues try commenting out vncconsole=1 and vncviewer=1 in my working domU i have: vnc=1 vncviewer=1 see if that makes any difference after you change it and recreate the domain On Wed, Jun 16, 2010 at 7:46 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> Yes, there is one guest OS, wainting for install process. > :/etc/xen# xm list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 14063 8 r----- > 533.5 > w2k8 5 2047 1 ------ > 0.0 > :/etc/xen# > The config from this DomU is: http://codeviewer.org/view/code:fea > > Thanks > > > ________________________________ > De: chris <tknchris@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > Enviado: mié,16 junio, 2010 13:25 > Asunto: Re: [Xen-users] VNC issues > > You would only see listening connections if you have a guest running > with a vnc console enabled.... do you have one running that you > believe vnc should be working on ? If so, please show that config as > well. > > On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote: >> :/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@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> 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@yahoo.es> >> 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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> CC: xen-users@lists.xensource.com >>> 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@yahoo.es> >>> 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@gmail.com> >>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>> CC: xen-users@lists.xensource.com >>>> 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@yahoo.es> >>>> 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@lists.xensource.com >>>>> http://lists.xensource.com/xen-users >>>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>>> >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >>> >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
vnc=1 is a very good sign, what does netstat -an --programs show ? should be able to vnc listening now On Wed, Jun 16, 2010 at 8:06 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> The difference is now when I create the domU it says VNC=1: > :/virtual/vm# xm create w2k8 > Using config file "./w2k8". > VNC= 1 > Started domain w2k8 > > Now I have: > vnc=1 > vncviewer=1 > #vncconsole=1 > vncpasswd='''' > Also I''ve tried many variables commenting or uncomment those variables. > > > Thanks > > > ________________________________ > De: chris <tknchris@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > Enviado: mié,16 junio, 2010 13:50 > Asunto: Re: [Xen-users] VNC issues > > try commenting out vncconsole=1 and vncviewer=1 in my working domU i have: > > vnc=1 > vncviewer=1 > > see if that makes any difference after you change it and recreate the domain > > On Wed, Jun 16, 2010 at 7:46 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote: >> Yes, there is one guest OS, wainting for install process. >> :/etc/xen# xm list >> Name ID Mem VCPUs State >> Time(s) >> Domain-0 0 14063 8 r----- >> 533.5 >> w2k8 5 2047 1 ------ >> 0.0 >> :/etc/xen# >> The config from this DomU is: http://codeviewer.org/view/code:fea >> >> Thanks >> >> >> ________________________________ >> De: chris <tknchris@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> CC: xen-users@lists.xensource.com >> Enviado: mié,16 junio, 2010 13:25 >> Asunto: Re: [Xen-users] VNC issues >> >> You would only see listening connections if you have a guest running >> with a vnc console enabled.... do you have one running that you >> believe vnc should be working on ? If so, please show that config as >> well. >> >> On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> >> wrote: >>> :/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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> 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@yahoo.es> >>> 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@gmail.com> >>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>> CC: xen-users@lists.xensource.com >>>> 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@yahoo.es> >>>> 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@gmail.com> >>>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>>> CC: xen-users@lists.xensource.com >>>>> 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@yahoo.es> >>>>> 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@lists.xensource.com >>>>>> http://lists.xensource.com/xen-users >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xensource.com >>>>> http://lists.xensource.com/xen-users >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>>> >>> >>> >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
That''s the problem, no VNC or VNC port seems to be into this http://codeviewer.org/view/code:fec netstat -an --programs ________________________________ De: chris <tknchris@gmail.com> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: xen-users@lists.xensource.com Enviado: mié,16 junio, 2010 14:44 Asunto: Re: [Xen-users] VNC issues vnc=1 is a very good sign, what does netstat -an --programs show ? should be able to vnc listening now On Wed, Jun 16, 2010 at 8:06 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote:> The difference is now when I create the domU it says VNC=1: > :/virtual/vm# xm create w2k8 > Using config file "./w2k8". > VNC= 1 > Started domain w2k8 > > Now I have: > vnc=1 > vncviewer=1 > #vncconsole=1 > vncpasswd='''' > Also I''ve tried many variables commenting or uncomment those variables. > > > Thanks > > > ________________________________ > De: chris <tknchris@gmail.com> > Para: Guaitaku Boluda <guaitaku@yahoo.es> > CC: xen-users@lists.xensource.com > Enviado: mié,16 junio, 2010 13:50 > Asunto: Re: [Xen-users] VNC issues > > try commenting out vncconsole=1 and vncviewer=1 in my working domU i have: > > vnc=1 > vncviewer=1 > > see if that makes any difference after you change it and recreate the domain > > On Wed, Jun 16, 2010 at 7:46 AM, Guaitaku Boluda <guaitaku@yahoo.es> wrote: >> Yes, there is one guest OS, wainting for install process. >> :/etc/xen# xm list >> Name ID Mem VCPUs State >> Time(s) >> Domain-0 0 14063 8 r----- >> 533.5 >> w2k8 5 2047 1 ------ >> 0.0 >> :/etc/xen# >> The config from this DomU is: http://codeviewer.org/view/code:fea >> >> Thanks >> >> >> ________________________________ >> De: chris <tknchris@gmail.com> >> Para: Guaitaku Boluda <guaitaku@yahoo.es> >> CC: xen-users@lists.xensource.com >> Enviado: mié,16 junio, 2010 13:25 >> Asunto: Re: [Xen-users] VNC issues >> >> You would only see listening connections if you have a guest running >> with a vnc console enabled.... do you have one running that you >> believe vnc should be working on ? If so, please show that config as >> well. >> >> On Wed, Jun 16, 2010 at 7:22 AM, Guaitaku Boluda <guaitaku@yahoo.es> >> wrote: >>> :/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@gmail.com> >>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>> 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@yahoo.es> >>> 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@gmail.com> >>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>> CC: xen-users@lists.xensource.com >>>> 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@yahoo.es> >>>> 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@gmail.com> >>>>> Para: Guaitaku Boluda <guaitaku@yahoo.es> >>>>> CC: xen-users@lists.xensource.com >>>>> 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@yahoo.es> >>>>> 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@lists.xensource.com >>>>>> http://lists.xensource.com/xen-users >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Xen-users mailing list >>>>> Xen-users@lists.xensource.com >>>>> http://lists.xensource.com/xen-users >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Xen-users mailing list >>>> Xen-users@lists.xensource.com >>>> http://lists.xensource.com/xen-users >>>> >>>> >>> >>> >> >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I''m having a similar problem. Check to see if you have Xen''s VNC server binary. I don''t think it''s used for HVM, but it''s worth a shot. It should be called "xen-vncfb" and should be in /usr/lib/xen/bin or /usr/lib64/xen/bin. If I''m completely wrong there, try clearing your logs in /var/log/xen and then start up the VM. After it''s started check to see if any of the resulting files have any errors. My $0.02. -Brad On Wed, Jun 16, 2010 at 06:15:16AM -0700, Guaitaku Boluda wrote:> That''s the problem, no VNC or VNC port seems to be into this http:/ /codeviewer.org/view/code:fec netstat -an --programs_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I don''t find ant xen-vncfb and it seems that it''s difficult to get it. Googleing arround I''ve found some issues about that but without a solution. I''ve rebooted entrire server, cleaning before the logs: xend.log Thanks ________________________________ De: Brad Cable <brad@bcable.net> Para: Guaitaku Boluda <guaitaku@yahoo.es> CC: chris <tknchris@gmail.com>; xen-users@lists.xensource.com Enviado: jue,17 junio, 2010 02:11 Asunto: Re: [Xen-users] VNC issues I''m having a similar problem. Check to see if you have Xen''s VNC server binary. I don''t think it''s used for HVM, but it''s worth a shot. It should be called "xen-vncfb" and should be in /usr/lib/xen/bin or /usr/lib64/xen/bin. If I''m completely wrong there, try clearing your logs in /var/log/xen and then start up the VM. After it''s started check to see if any of the resulting files have any errors. My $0.02. -Brad On Wed, Jun 16, 2010 at 06:15:16AM -0700, Guaitaku Boluda wrote:> That''s the problem, no VNC or VNC port seems to be into this http:/ /codeviewer.org/view/code:fec netstat -an --programs_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users