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@xxxxxxx 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@xxxxxxx 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@xxxxxxx 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@xxxxxxxxxxxxxxx
>>>>>
>>>>>
>>>>
>>
>> _______________________________________________
>> xen-discuss mailing list
>> xen-discuss@xxxxxxxxxxxxxxx
>>
>
|