Navin.Kumar@Sun.COM
2007-Dec-13 06:05 UTC
Problem in getting windows console from other clients
Hi All, I created a XP domU on solaris xVM(build 79).Everthing went fine and I am able to get the windows console using "vncviewer :0" from dom0. I want to get same windows console from other machines in LAN. I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no luck. Please tell me the right way to get windows console from other machines (other than dom0). Thanks, --Navin
Christian Smith - Sun Microsystems - Dublin Ireland
2007-Dec-13 08:34 UTC
Re: Problem in getting windows console from other clients
Hi Navin, You command is using the display number. Try <ip address>:590<dom id>. e.g. For domain 1 you would have <ip address>:5900 -Christian Navin.Kumar@Sun.COM wrote:> Hi All, > > I created a XP domU on solaris xVM(build 79).Everthing went fine and I > am able to get the windows console using "vncviewer :0" from dom0. > I want to get same windows console from other machines in LAN. > I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no luck. > > Please tell me the right way to get windows console from other machines > (other than dom0). > > Thanks, > --Navin > _______________________________________________ > xen-discuss mailing list > xen-discuss@opensolaris.org >
Navin.Kumar@Sun.COM
2007-Dec-13 08:49 UTC
Re: Problem in getting windows console from other clients
Hi Christian, Thanks for the prompt reply, however no luck yet. This is the scenario: dom0 IP: 1.1.1.1 domU IP: 2.2.2.2 domU ID: 16 I tried different combinations, but not able to get the console. Always getting the error "unable to connect to host: connection refused(146)". Do i need to do any manual configuration on either dom0 or domU. Any thoughts ?? Thanks, -Navin Christian Smith - Sun Microsystems - Dublin Ireland wrote:> Hi Navin, > > You command is using the display number. Try <ip address>:590<dom id>. > > e.g. For domain 1 you would have <ip address>:5900 > > -Christian > > Navin.Kumar@Sun.COM wrote: > >> Hi All, >> >> I created a XP domU on solaris xVM(build 79).Everthing went fine and >> I am able to get the windows console using "vncviewer :0" from dom0. >> I want to get same windows console from other machines in LAN. >> I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no >> luck. >> >> Please tell me the right way to get windows console from other >> machines (other than dom0). >> >> Thanks, >> --Navin >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> > >
Christian Smith - Sun Microsystems - Dublin Ireland
2007-Dec-13 09:56 UTC
Re: Problem in getting windows console from other clients
Hi Navin, The VNC session that you are trying to attach to is running on dom0 so you will need to use its IP address. Try running ''netstat -a | grep 590'' on your dom0 and see if anything is listening on ports 5900, 5901. If there is nothing listening on those ports, how did you create your domain, virt-install or ''xm create''? -Christian Navin.Kumar@Sun.COM wrote:> Hi Christian, > > Thanks for the prompt reply, however no luck yet. > > This is the scenario: > dom0 IP: 1.1.1.1 > domU IP: 2.2.2.2 > domU ID: 16 > > I tried different combinations, but not able to get the console. > Always getting the error "unable to connect to host: connection > refused(146)". > Do i need to do any manual configuration on either dom0 or domU. > > Any thoughts ?? > > Thanks, > -Navin > > Christian Smith - Sun Microsystems - Dublin Ireland wrote: > >> Hi Navin, >> >> You command is using the display number. Try <ip address>:590<dom id>. >> >> e.g. For domain 1 you would have <ip address>:5900 >> >> -Christian >> >> Navin.Kumar@Sun.COM wrote: >> >>> Hi All, >>> >>> I created a XP domU on solaris xVM(build 79).Everthing went fine and >>> I am able to get the windows console using "vncviewer :0" from dom0. >>> I want to get same windows console from other machines in LAN. >>> I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no >>> luck. >>> >>> Please tell me the right way to get windows console from other >>> machines (other than dom0). >>> >>> Thanks, >>> --Navin >>> _______________________________________________ >>> xen-discuss mailing list >>> xen-discuss@opensolaris.org >>> >> >> >
Navin.Kumar@Sun.COM
2007-Dec-13 10:45 UTC
Re: Problem in getting windows console from other clients
Output for netstat: bash-3.2# netstat -a | grep 590 localhost.5900 *.* 0 0 49152 0 LISTEN I created the domain using virt-install. Here we can see that it''s listening on 5900. Still I am not able to access it using <ip>:5900. Don''t know what''s wrong. --Navin Christian Smith - Sun Microsystems - Dublin Ireland wrote:>Hi Navin, > >The VNC session that you are trying to attach to is running on dom0 so >you will need to use its IP address. Try running ''netstat -a | grep >590'' on your dom0 and see if anything is listening on ports 5900, 5901. >If there is nothing listening on those ports, how did you create your >domain, virt-install or ''xm create''? > >-Christian > > > >Navin.Kumar@Sun.COM wrote: > > >>Hi Christian, >> >>Thanks for the prompt reply, however no luck yet. >> >>This is the scenario: >>dom0 IP: 1.1.1.1 >>domU IP: 2.2.2.2 >>domU ID: 16 >> >>I tried different combinations, but not able to get the console. >>Always getting the error "unable to connect to host: connection >>refused(146)". >>Do i need to do any manual configuration on either dom0 or domU. >> >>Any thoughts ?? >> >>Thanks, >>-Navin >> >>Christian Smith - Sun Microsystems - Dublin Ireland wrote: >> >> >> >>>Hi Navin, >>> >>>You command is using the display number. Try <ip address>:590<dom id>. >>> >>>e.g. For domain 1 you would have <ip address>:5900 >>> >>>-Christian >>> >>>Navin.Kumar@Sun.COM wrote: >>> >>> >>> >>>>Hi All, >>>> >>>>I created a XP domU on solaris xVM(build 79).Everthing went fine and >>>>I am able to get the windows console using "vncviewer :0" from dom0. >>>>I want to get same windows console from other machines in LAN. >>>>I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no >>>>luck. >>>> >>>>Please tell me the right way to get windows console from other >>>>machines (other than dom0). >>>> >>>>Thanks, >>>>--Navin >>>>_______________________________________________ >>>>xen-discuss mailing list >>>>xen-discuss@opensolaris.org >>>> >>>> >>>> >>> >>> > >_______________________________________________ >xen-discuss mailing list >xen-discuss@opensolaris.org > >
Christian Smith - Sun Microsystems - Dublin Ireland
2007-Dec-13 10:56 UTC
Re: Problem in getting windows console from other clients
Hi Navin, It looks like VNC is only listening on localhost, therefor you will not be able to connect from an external host. To enable access from remote hosts: # svccfg -s xvm/xend setprop config/vnc-listen = astring: \"0.0.0.0\" # svcadm refresh xvm/xend # svcadm restart xvm/xend Then re-create your domains and VNC should be listening on *.5900 instead of localhost.5900 -Christian Navin.Kumar@Sun.COM wrote:> Output for netstat: > > bash-3.2# netstat -a | grep 590 > localhost.5900 *.* 0 0 49152 0 LISTEN > > I created the domain using virt-install. Here we can see that it''s > listening on 5900. > Still I am not able to access it using <ip>:5900. Don''t know what''s wrong. > > --Navin > > > Christian Smith - Sun Microsystems - Dublin Ireland wrote: >> Hi Navin, >> >> The VNC session that you are trying to attach to is running on dom0 so >> you will need to use its IP address. Try running ''netstat -a | grep >> 590'' on your dom0 and see if anything is listening on ports 5900, 5901. >> If there is nothing listening on those ports, how did you create your >> domain, virt-install or ''xm create''? >> >> -Christian >> >> >> >> Navin.Kumar@Sun.COM wrote: >> >>> Hi Christian, >>> >>> Thanks for the prompt reply, however no luck yet. >>> >>> This is the scenario: >>> dom0 IP: 1.1.1.1 >>> domU IP: 2.2.2.2 >>> domU ID: 16 >>> >>> I tried different combinations, but not able to get the console. >>> Always getting the error "unable to connect to host: connection >>> refused(146)". >>> Do i need to do any manual configuration on either dom0 or domU. >>> >>> Any thoughts ?? >>> >>> Thanks, >>> -Navin >>> >>> Christian Smith - Sun Microsystems - Dublin Ireland wrote: >>> >>> >>>> Hi Navin, >>>> >>>> You command is using the display number. Try <ip address>:590<dom id>. >>>> >>>> e.g. For domain 1 you would have <ip address>:5900 >>>> >>>> -Christian >>>> >>>> Navin.Kumar@Sun.COM wrote: >>>> >>>> >>>>> Hi All, >>>>> >>>>> I created a XP domU on solaris xVM(build 79).Everthing went fine and >>>>> I am able to get the windows console using "vncviewer :0" from dom0. >>>>> I want to get same windows console from other machines in LAN. >>>>> I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but no >>>>> luck. >>>>> >>>>> Please tell me the right way to get windows console from other >>>>> machines (other than dom0). >>>>> >>>>> Thanks, >>>>> --Navin >>>>> _______________________________________________ >>>>> xen-discuss mailing list >>>>> xen-discuss@opensolaris.org >>>>> >>>>> >>>> >> >> _______________________________________________ >> xen-discuss mailing list >> xen-discuss@opensolaris.org >> >
Navin.Kumar@Sun.COM
2007-Dec-13 12:31 UTC
Re: Problem in getting windows console from other clients
Thanks Christian :-) It''s working !!! --Navin Christian Smith - Sun Microsystems - Dublin Ireland wrote:> Hi Navin, > > It looks like VNC is only listening on localhost, therefor you will > not be able to connect from an external host. To enable access from > remote hosts: > > # svccfg -s xvm/xend setprop config/vnc-listen = astring: \"0.0.0.0\" > # svcadm refresh xvm/xend > # svcadm restart xvm/xend > > Then re-create your domains and VNC should be listening on *.5900 > instead of localhost.5900 > > -Christian > > Navin.Kumar@Sun.COM wrote: > >> Output for netstat: >> >> bash-3.2# netstat -a | grep 590 >> localhost.5900 *.* 0 0 49152 0 >> LISTEN >> >> I created the domain using virt-install. Here we can see that it''s >> listening on 5900. >> Still I am not able to access it using <ip>:5900. Don''t know what''s >> wrong. >> >> --Navin >> >> >> Christian Smith - Sun Microsystems - Dublin Ireland wrote: >> >>> Hi Navin, >>> >>> The VNC session that you are trying to attach to is running on dom0 >>> so you will need to use its IP address. Try running ''netstat -a | >>> grep 590'' on your dom0 and see if anything is listening on ports >>> 5900, 5901. If there is nothing listening on those ports, how did >>> you create your domain, virt-install or ''xm create''? >>> >>> -Christian >>> >>> >>> >>> Navin.Kumar@Sun.COM wrote: >>> >>> >>>> Hi Christian, >>>> >>>> Thanks for the prompt reply, however no luck yet. >>>> >>>> This is the scenario: >>>> dom0 IP: 1.1.1.1 >>>> domU IP: 2.2.2.2 >>>> domU ID: 16 >>>> >>>> I tried different combinations, but not able to get the console. >>>> Always getting the error "unable to connect to host: connection >>>> refused(146)". >>>> Do i need to do any manual configuration on either dom0 or domU. >>>> >>>> Any thoughts ?? >>>> >>>> Thanks, >>>> -Navin >>>> >>>> Christian Smith - Sun Microsystems - Dublin Ireland wrote: >>>> >>>> >>>> >>>>> Hi Navin, >>>>> >>>>> You command is using the display number. Try <ip address>:590<dom >>>>> id>. >>>>> >>>>> e.g. For domain 1 you would have <ip address>:5900 >>>>> >>>>> -Christian >>>>> >>>>> Navin.Kumar@Sun.COM wrote: >>>>> >>>>> >>>>> >>>>>> Hi All, >>>>>> >>>>>> I created a XP domU on solaris xVM(build 79).Everthing went fine >>>>>> and I am able to get the windows console using "vncviewer :0" >>>>>> from dom0. >>>>>> I want to get same windows console from other machines in LAN. >>>>>> I tried "vncviewer <dom0_ip>:0" also "vncviewer <domu_ip>:0" but >>>>>> no luck. >>>>>> >>>>>> Please tell me the right way to get windows console from other >>>>>> machines (other than dom0). >>>>>> >>>>>> Thanks, >>>>>> --Navin >>>>>> _______________________________________________ >>>>>> xen-discuss mailing list >>>>>> xen-discuss@opensolaris.org >>>>>> >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> xen-discuss mailing list >>> xen-discuss@opensolaris.org >>> >> >> >