Hector, thanks for the help. <div><br></div><div>I check the sunstone.error. There I see "command not found" error. </div><div>To solve this: sudo chmod a+x /usr/share/one/websockify/websocketproxy.py</div><div><br>
</div><div>Thanks.</div><div><br></div><div><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 14, 2012 at 5:08 PM, Hector Sanjuan <span dir="ltr"><<a href="mailto:lists@convivencial.org" target="_blank">lists@convivencial.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div><div>Yes:</div><div><br></div><div>Go through the troubleshooting section of the documentation:</div><div><br></div><div><a href="http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting" target="_blank">http://opennebula.org/documentation:rel3.8:sunstone#vnc_troubleshooting</a> (change 3.8 to your version if you are on a different one)</div>
<div><br></div><div>And through this thread from a couple of days ago:</div><div><br></div><div><a href="http://lists.opennebula.org/pipermail/users-opennebula.org/2012-November/020917.html" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/2012-November/020917.html</a></div>
<div><br></div><div>Hector</div><div><div class="h5"><div><br></div><div>On Wed, 14 Nov 2012 20:55:26 +0100, Matheus Torquato <<a href="mailto:matheus.tor4@gmail.com" target="_blank">matheus.tor4@gmail.com</a>> wrote:<br>
</div><br><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex">Thanks Hector! Now I have the popup window.<div><br></div><div>But, now I have this message Server disconnected (code: 1006).</div>
<div><br></div><div>Any hints?</div><div><br></div><div>Best regards</div><div class="gmail_extra">
<br><br><div class="gmail_quote">2012/11/14 matheus tor4 <span dir="ltr"><<a href="mailto:matheusifal@gmail.com" target="_blank">matheusifal@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Very apreciated Hector.<div><br></div><div>I will try this now!</div><div><br></div><div>Thanks!</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Wed, Nov 14, 2012 at 4:44 PM, Hector Sanjuan <span dir="ltr"><<a href="mailto:lists@convivencial.org" target="_blank">lists@convivencial.org</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
<div><div>Hello,</div><div><br></div><div>this file cannot be located:</div><div><div><br></div><div>Wed Nov 14 15:29:10 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:10] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0017</div>
<div><br></div></div><div>I assume you are using OpenNebula < 3.8. If you just ran the install_novnc.sh script, it probably won't work well due to late big changes to the novnc project. You can try fixing that by getting the last novnc_install.sh script[1] and rerunning it. Make sure all the /usr/lib/one/sunstone/public/vendor/noVNC/include/ files are in place though.</div>
<div><br></div><div>Hector</div><div><br>[1] <a href="http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/install_novnc.sh" target="_blank">http://dev.opennebula.org/projects/opennebula/repository/revisions/master/entry/share/install_novnc.sh</a></div>
<div><div><div><br></div><div>On Wed, 14 Nov 2012 20:23:48 +0100, matheus tor4 <<a href="mailto:matheusifal@gmail.com" target="_blank">matheusifal@gmail.com</a>> wrote:<br></div><br><blockquote style="margin:0 0 0.80ex;border-left:#0000ff 2px solid;padding-left:1ex">
<div>Hello everybody, </div><div><br></div><div>I got a error with VNC and sunstone. </div><div>Even without a notice of errors, I dont can bring up a vnc session.</div><div><br></div><div>I already tried:</div><div><br>
</div>
<div>--> Move the files of /usr/lib/one/sunstone/public/vendor/noVNC/include/ to /usr/share/one/noVNC/include/ and vice-versa.</div><div>--> Unable "Secure websockets connection" on dashboard configurations.</div>
<div><br></div><div>Here my whole /var/log/one/sunstone.log: <a href="http://pastebin.com/iwVq7rgP" target="_blank">http://pastebin.com/iwVq7rgP</a></div><div><br></div><div>Importants lines:</div><div><br></div><div>tail -n2000 /var/log/one/sunstone.log | grep vnc</div>
<div>{:vnc_proxy_base_port=>29876,</div><div> :vnc_proxy_key=>nil,</div><div> :vnc_proxy_support_wss=>false,</div><div> :vnc_proxy_path=>"/usr/share/one/noVNC/utils/websockify",</div><div> :vnc_proxy_cert=>nil,</div>
<div>Wed Nov 14 15:11:20 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:11:20] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0012</div><div>Wed Nov 14 15:28:32 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35783 ModcsNebula-FrontEnd:5907</div>
<div>Wed Nov 14 15:28:32 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:28:32] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0080</div><div>Wed Nov 14 15:29:10 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:10] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0017</div>
<div>Wed Nov 14 15:29:17 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:17] "GET /images/vnc_off.png HTTP/1.1" 304 - 0.0008</div><div>Wed Nov 14 15:29:17 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:29:17] "GET /images/vnc_on.png HTTP/1.1" 304 - 0.0007</div>
<div>Wed Nov 14 15:31:00 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35786 ModcsNebula-FrontEnd:5910</div><div>Wed Nov 14 15:31:00 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:31:00] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.1287</div>
<div>Wed Nov 14 15:32:51 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:32:51] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0014</div><div>Wed Nov 14 15:32:52 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:32:52] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0013</div>
<div>Wed Nov 14 15:35:21 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:21] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014</div><div>Wed Nov 14 15:35:22 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:22] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014</div>
<div>Wed Nov 14 15:35:23 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:35:23] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0014</div><div>Wed Nov 14 15:39:15 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:39:15] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0011</div>
<div>Wed Nov 14 15:41:28 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:28] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0011</div><div>Wed Nov 14 15:41:41 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35785 ModcsNebula-Node01:5909</div>
<div>Wed Nov 14 15:41:41 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:41] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0076</div><div>Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0013</div>
<div>Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0012</div><div>Wed Nov 14 15:41:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:42] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0012</div>
<div>Wed Nov 14 15:41:43 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:41:43] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0011</div><div>Wed Nov 14 15:46:23 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:46:23] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0011</div>
<div>Wed Nov 14 15:49:31 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35782 ModcsNebula-Node01:5906</div><div>Wed Nov 14 15:49:31 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:31] "POST /vm/6/startvnc HTTP/1.1" 200 30 0.0072</div>
<div>Wed Nov 14 15:49:31 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:31] "POST /vm/7/startvnc HTTP/1.1" 200 30 0.0012</div><div>Wed Nov 14 15:49:32 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35784 ModcsNebula-Node02:5908</div>
<div>Wed Nov 14 15:49:32 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:32] "POST /vm/8/startvnc HTTP/1.1" 200 30 0.0075</div><div>Wed Nov 14 15:49:32 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:32] "POST /vm/9/startvnc HTTP/1.1" 200 30 0.0012</div>
<div>Wed Nov 14 15:49:41 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:41] "POST /vm/10/startvnc HTTP/1.1" 200 30 0.0010</div><div>Wed Nov 14 15:49:41 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35787 ModcsNebula-Node02:5911</div>
<div>Wed Nov 14 15:49:41 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:41] "POST /vm/11/startvnc HTTP/1.1" 200 30 0.0054</div><div>Wed Nov 14 15:49:42 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35788 ModcsNebula-Node02:5912</div>
<div>Wed Nov 14 15:49:42 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:42] "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0072</div><div>Wed Nov 14 15:49:48 2012 [I]: Starting vnc proxy: /usr/share/one/noVNC/utils/websockify 35789 ModcsNebula-Node01:5913</div>
<div>Wed Nov 14 15:49:48 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:49:48] "POST /vm/13/startvnc HTTP/1.1" 200 30 0.0298</div><div>Wed Nov 14 15:57:53 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:57:53] "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0010</div>
<div>Wed Nov 14 15:57:53 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:57:53] "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0011</div><div>Wed Nov 14 15:57:54 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:57:54] "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0010</div>
<div>Wed Nov 14 15:57:54 2012 [I]: 192.168.56.4 - - [14/Nov/2012 15:57:54] "POST /vm/12/startvnc HTTP/1.1" 200 30 0.0010</div><div>Wed Nov 14 16:01:53 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:01:53] "POST /vm/6/startvnc HTTP/1.1" 200 30 0.0010</div>
<div>Wed Nov 14 16:01:54 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:01:54] "POST /vm/6/startvnc HTTP/1.1" 200 30 0.0011</div><div>Wed Nov 14 16:01:54 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:01:54] "POST /vm/6/startvnc HTTP/1.1" 200 30 0.0010</div>
<div>Wed Nov 14 16:01:55 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:01:55] "POST /vm/6/startvnc HTTP/1.1" 200 30 0.0010</div><div>Wed Nov 14 16:02:05 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:02:05] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0012</div>
<div>Wed Nov 14 16:02:44 2012 [I]: 192.168.56.4 - - [14/Nov/2012 16:02:44] "GET /vendor/noVNC/include/vnc.js HTTP/1.1" 404 466 0.0011</div><div><br></div><div>Any hints will be apreciated.</div><div><br></div><div>
Regards.</div><div><div><br></div>-- <br>Matheus Torquato<div>MSc Candidate in Computer Science - CIn - UFPE<br>BSc in Computer Science - Federal University of Alagoas<br></div><br>
</div>
</blockquote><br><br><br></div></div><div><div>-- </div><div>Hector Sanjuan<br>@hecsanjuan</div></div></div><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><div><br><br clear="all"><div><br></div>-- <br>Matheus Torquato<div>MSc Candidate in Computer Science - CIn - UFPE<br>BSc in Computer Science - Federal University of Alagoas<br></div><br>
</div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matheus D'Eça Torquato de Melo<br><br><div><font face="'times new roman', serif" style color="#666666">Professor do Instituto Federal do Sertão Pernambucano - Campus Salgueiro<br>
<a href="https://sites.google.com/site/professormatheustor4/" target="_blank">https://sites.google.com/site/professormatheustor4/</a></font></div><div><font face="'times new roman', serif"><span style><font color="#666666">Mestrando em Ciência da Computação - CIn/UFPE <br>
Participante do grupo de pesquisa MoDCS (<a href="http://www.modcs.org/" target="_blank">http://www.modcs.org/</a>) - CIn/UFPE<br></font></span></font><br><i>"Nunca permita que a sua felicidade dependa de algo que possa perder" (Casino Boulevard - Rosa de Saron)</i></div>
<br>
</div>
</blockquote><br><br><br></div></div><div><div>-- </div><div>Hector Sanjuan<br>@hecsanjuan</div></div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Matheus Torquato<div>MSc Candidate in Computer Science - CIn - UFPE<br>BSc in Computer Science - Federal University of Alagoas<br></div><br>
</div>