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

Re: [Xen-users] VNC not worked.



Is you mean iptables? As you see, my "netstat" command show "172.30.9.20:5900". Do you have any idea for solve it?


On Monday, May 9, 2016 10:31 AM, Sarah Newman <srn@xxxxxxxxx> wrote:


On 05/09/2016 06:11 AM, Jason Long wrote:

> HelloI started a Windows VM :[root@localhost ~]# xl listName                                        ID  Mem VCPUs State Time(s)Domain-0                                    0  6755    8    r-----      70.1windows10                                    2  1024    1    ------      3.4
> and In config file I written :vnc="1"vnclisten="172.30.9.20"vncconsole="0"
> and
> [root@localhost ~]# netstat -natActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address          Foreign Address        State      tcp        0      0 172.30.9.20:5900        0.0.0.0:*              LISTEN    tcp        0      0 192.168.122.1:53        0.0.0.0:*              LISTEN    tcp        0      0 0.0.0.0:22              0.0.0.0:*              LISTEN    tcp        0    180 172.30.9.20:22          172.30.10.18:53842      ESTABLISHEDtcp6      0      0 :::9090                :::*                    LISTEN    tcp6      0      0 :::22                  :::*                    LISTEN    [root@localhost ~]# hostnamelocalhost.localdomain[root@localhost ~]#
> But I can't connect to my VNC remotely :
> $ vncviewer 172.30.9.20:5900vncviewer: ConnectToTcpAddr: connect: No route to hostUnable to connect to VNC server
> How can I solve it?


Now that there's something listening for VNC connections the problem is not related to Xen. You need to make sure that the machine you're trying to
connect from can reach tcp port 5900 on the dom0, which is the same process for opening port 80 on the dom0 except with 5900 instead of 80.

--Sarah



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.