<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Here is my VNC config in nova.conf</div><div><br></div><div>My controller is 10.2.1.1. I modify vncserver_proxyclient_address to the static ip of each compute host rather than using 127.0.0.1. Not sure that matters, I have never tried 127.0.0.1. </div>
<div>
<div class="page" title="Page 12">
<div class="section" style="background-color:rgb(100.000000%,100.000000%,100.000000%)">
<div class="layoutArea">
<div class="column">
<pre><span style="font-size:8.000000pt;font-family:'CourierNew';color:rgb(40.000000%,40.000000%,40.000000%)"># Vnc configuration
novnc_enabled=true
novncproxy_base_url=<a href="http://10.2.1.1:6080/vnc_auto.html">http://10.2.1.1:6080/vnc_auto.html</a>
novncproxy_port=6080
vncserver_proxyclient_address=10.2.1.2 {IP of the local compute host here}
</span><span style="color:rgb(102,102,102);font-family:CourierNew;font-size:8pt">vncserver_listen=0.0.0.0</span></pre>
</div>
</div>
</div>
</div><br>--<br><div>Thanks,</div><div>John</div></div><div><br>On Jan 24, 2013, at 8:55 PM, Wangpan <<a href="mailto:hzwangpan@corp.netease.com">hzwangpan@corp.netease.com</a>> wrote:<br><br></div><blockquote type="cite">
<div>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<style> body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;} </style>
<meta name="GENERATOR" content="MSHTML 8.00.7601.17824"><base target="_blank">
<div><font color="#000000" size="3" face="宋体">Hi <font face="Verdana">longeek & Russi,</font></font></div>
<div><font face="Verdana">I have some suggestions about the vnc
issue of vm,</font></div>
<div><font face="Verdana">1. you can use 'sudo virsh dumpxml instance-uuid'
to check the ip and port vnc <font face="宋体">bound, seems like
this:</font></font></div>
<div> <graphics type='vnc' <font style="BACKGROUND-COLOR:#ff0000">port='5903'</font> autoport='yes' <font style="BACKGROUND-COLOR:#ff0000">listen='XXX.XXX.XXX.XXX'</font>
keymap='en-us'><br> <listen type='address'
address=<font style="BACKGROUND-COLOR:#ff0000">'XXX.XXX.XXX.XXX'</font>/><br>
</graphics></div>
<div>2. you should check the vnc connection to vm is ok or not by
using vnc client, such as 'RealVNC viewer', and connect vm by using the ip and
port in step 1, if it is OK here, the problem may occur in novnc service, the
process on my host is like this '/usr/bin/python /usr/bin/nova-novncproxy
--config-file=/etc/nova/nova.conf --web /usr/share/novnc/'</div>
<div> </div>
<div>As your description, the error is "Failed to connect to server (code:
1006)", so I guess the problem may be the ip and port vnc bound can not be
connect.</div>
<div>good luck!</div>
<div> </div>
<div align="left"><font color="#c0c0c0" face="Verdana">2013-01-25</font></div>
<div align="left"><font face="Verdana">
<hr style="WIDTH:122px;HEIGHT:2px" id="SignNameHR" align="left" size="2">
</font></div>
<div align="left"><font color="#c0c0c0" face="Verdana"><span id="_FlashSignName">Wangpan</span></font></div>
<div><font face="Verdana">
<hr>
</font></div>
<div><font face="Verdana"><strong>发件人:</strong>longeek</font></div>
<div><font face="Verdana"><strong>发送时间:</strong>2013-01-25 09:24</font></div>
<div><font face="Verdana"><strong>主题:</strong>Re: [Openstack] Problem with
VNC on compute node</font></div>
<div><font face="Verdana"><strong>收件人:</strong>"openstack"<<a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>></font></div>
<div><font face="Verdana"><strong>抄送:</strong></font></div>
<div><font face="Verdana"></font> </div>
<div><font face="Verdana">
<div class="moz-cite-prefix">Hi, <br> I also get the same issuse, I
have check the vnc config in nova config.<br> Can anybody tell us
about why this and how the horizon access the vnc?<br><br>Tks,<br>Best
Regards,<br><br>--------------------------------------------<br>Lawrency
Meng<br>mail: <a class="moz-txt-link-abbreviated" href="mailto:mengql112233@gmail.com">mengql112233@gmail.com</a><br><br>于
01/24/2013 12:27 AM, Guilherme Russi 写道:<br></div>
<blockquote cite="mid:CAKz5Ux-xsOtu6eedE+O2fAAJv8odt-LHUpcPJ71OaewQPsbtUA@mail.gmail.com" type="cite">Hello guys,<br><br> I'm installing the folsom version and I
have one computer like the controller and one being the compute node. I can
start the VM with cirros OS but I can't use the VNC, I got the error: "Failed
to connect to server (code: 1006)". I've been following this tutorial: <a href="http://docs.openstack.org/folsom/basic-install/content/basic-install_compute.html">http://docs.openstack.org/folsom/basic-install/content/basic-install_compute.html</a>.<br>
<br>Can
anybody help me?<br><br>Thank you and regards.<br><br>Guilherme.<br><br>
<fieldset class="mimeAttachmentHeader"></fieldset> <br><pre>_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a>
</pre></blockquote><br><br><pre class="moz-signature" cols="72">--
_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a>
More help : <a class="moz-txt-link-freetext" href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></pre></font></div></div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br>
<span>Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></span><br><span>Post to : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a></span><br>
<span>Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a></span><br><span>More help : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a></span><br>
</div></blockquote></body></html>