<div style="font-family: Helvetica; font-size: 13px; ">Thanks.<div>Is your code on the same server as proxmox or another one, and you've downloaded the .jar on your external server ?</div><div><br></div><div>And the jar, did you recompiled it, or resigned it, and do you have a valid SSL cert ? (Because I've changed web interface SSL cert for a valid one, and I got an SSL error)</div></div>
<div><div><br></div><div style="background-color: rgb(255, 255, 255); ">-- <br>Cordialement, Adnan RIHAN.<br><u>Président</u>-<u>Fondateur</u> de l'association (de loi 1901) <a href="http://www.virtual-info.info/" target="_blank" style="color: rgb(0, 106, 227); "><b>Virtual-Info</b></a>, <i>hébergeur Web et Serveurs de Jeux</i>.</div><div style="background-color: rgb(255, 255, 255); "><u>Directeur</u>-<u>Technique</u> pour le groupe <b>Rininvest</b>.<br><a href="http://rihan.fr/" target="_blank" style="color: rgb(0, 106, 227); "><u>Consultant</u></a>-<u>Technicien Supérieur</u> en <i>Informatique de Gestion</i>.<br><u>Ambassadeur</u> <a href="http://lyt.me/7E" target="_blank" style="color: rgb(0, 106, 227); "><b>Qt</b></a> (Projet <a href="http://rihan.fr/fr/projets/tagpg" target="_blank" style="color: rgb(0, 106, 227); "><b></b></a><b><a href="http://rihan.fr/projects/system/tagpg">Tag-PG</a></b>).</div><div><br></div></div>
<p style="color: #A0A0A8;">Le dimanche 7 octobre 2012 à 19:36, Guy a écrit :</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div><meta http-equiv="Content-Type" content="text/html charset=windows-1252">Here's a copy of my HTML/Ruby which opens a console..It works, however it does suffer from the console hanging after a short idle time. I've never managed to solve that...<div><br></div><div><div><HTML class="x-border-box x-quirks x-viewport"></div><div><HEAD><TITLE>Client Console: <%= @vm.comment %></TITLE></div><div><script type="text/javascript" src="/ext-all-debug.js"></script></div><div><script type="text/javascript">function gettext(buf) { return buf; }</script></div><div><script type="text/javascript" src="/pvemanagerlib.js"></script></div><div><br></div><div></HEAD></div><div><br></div><div><body class="x-body x-webkit x-safari x-mac x-reset x-container x-container-default x-layout-fit" id="ext-gen1009" role="application"></div><div><div id="pveKVMConsole-1018-body" class="x-panel-body x-panel-body-default x-panel-body-default x-layout-fit x-docked-noborder-right x-docked-noborder-bottom x-docked-noborder-left" style="width: 1024px; height: 768px; left: 0px; top: 0px; "></div><div><div id="component-1019" class="x-component x-fit-item x-component-default" role="presentation" style="margin: 0px; width: 1024px; height: 767px; "></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span><applet width="100%" height="100%" border="false" archive="/VncViewer.jar" code="com.tigervnc.vncviewer.VncViewer" style="width: 1024px; height: 768px;"></div><div> <param name="PVECert" value="<%= @newcert %>"></div><div> <param name="HOST" value="<%= @host %>"></div><div> <param name="PORT" value="<%= @vncport %>"> </div><div> <param name="Show Controls" value="No"></div><div> <param name="Offer Relogin" value="No"> </div><div> <param name="USERNAME" value="<%= @username %>"></div><div> <param name="PASSWORD" value="<%= @ticket %>"></div><div></APPLET></div><div><br></div><div><span style="white-space:pre"> </span></div><div><span style="white-space:pre"> </span></div><div></div></div></div><div> <!-- Fields required for history management --></div><div> <form id="history-form" class="x-hidden"></div><div> <input type="hidden" id="x-history-field"></div><div> </form></div><div> </div><div><br></div><div><iframe frameborder="0" class="x-shim" src="<a href="about:blank">about:blank</a>" id="ext-gen1014" style="display: none; "></iframe><div id="ext-comp-1015" class="x-tip x-tip-default x-layer" style="position: absolute; display: none; left: 373px; top: 214px; " role="tooltip" aria-labelledby="component-1017"><div id="ext-comp-1015-body" class="x-tip-body x-tip-body-default x-tip-body-default"></div><div class="x-tip-anchor x-tip-anchor-top" id="ext-gen1011" style="z-index: 1; "></div></div><div tabindex="-1" class="x-focus-element" id="ext-gen1035"> </div></body></div><div></HTML></div><div><br></div><div><br></div><div><br></div><div><br></div><div>
<span style="border-collapse: separate; border-spacing: 0px; "><div>Cheers,</div><div><br></div><div>--Guy</div><div><br></div><div><br></div></span><br>
</div>
<br><div><div>On 7 Oct 2012, at 18:00, Adnan RIHAN <<a href="mailto:axel50397@gmail.com">axel50397@gmail.com</a>> wrote:</div><br><blockquote type="cite"><div>
<div>
[Sent to pve-devel, no answer :/]
</div>
<div><div><br></div><div><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">Hello Proxmox !</span><br><font color="#333333"><br></font><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">I have some VPS (PV2 2.1) and I'm making some APIs (Proxy API) to allow my customers building their own app/website to manage their VPS.</span><br><font color="#333333"><br></font><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">Today, I'm making a test script to show the VNCViewer (vncproxy) from my computer, and I'm trying to make it LIKE the proxmox VNCViewer. I'm ok with the headers, the tokens, the ticket and the info about the VNC (PORT/Cert/User/Pass). My problem is embedding proxmox (tigervnc) java applet in an external HTML Page.</span><br><font color="#333333"><br></font><span style="color: rgb(51, 51, 51); background-color: rgb(250, 250, 250); ">Here is my code: </span><a href="http://pastebin.com/aG3m0FYs">http://pastebin.com/aG3m0FYs</a><br><font color="#002162"><br></font><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">I've checked the 'param's, they're good (I put them correctly), and I also have a valid certificate on proxmox (pve-ssl.key & pve-ssl.pem).</span><br><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">So, when I try to load the page, the applet shows blackscreen for less than 1 sec then "Error: Server did not offer supported security type".</span><br><font color="#333333"><br></font><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">I know that there is a thing with authentication not supported by the new VNC servers, but I'm strictly using the same applet that on my proxmox server, but maybe I'm using it badly.</span><br>Then <span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">I've noticed that the applet is trying to connect to the current webpage hostname, not the hostname of the server where the .jar is.</span><br><font color="#333333"><br></font><span style="background-color: rgb(250, 250, 250); color: rgb(51, 51, 51); ">So... I've read tigerVNC sources a little, and I found a "Server" parameter. So I tried to add it in the <param> list:</span><br><blockquote type="cite"><div><param name='Server' value='<?php echo "MY_HOST::".$res->data->port; ?>'></div></blockquote>Still the same Error. Maybe the server only accepts localhost connection… Or does anyone have an idea :) ?<br><font color="#002162"><br></font><div>Thank you all !</div></div><div><br></div><div style="background-color: rgb(255, 255, 255); ">-- <br>Cordialement, Adnan RIHAN.<br><u>Président</u>-<u>Fondateur</u> de l'association (de loi 1901) <a href="http://www.virtual-info.info/" target="_blank" style="color: rgb(0, 106, 227); "><b>Virtual-Info</b></a>, <i>hébergeur Web et Serveurs de Jeux</i>.</div><div style="background-color: rgb(255, 255, 255); "><u>Directeur</u>-<u>Technique</u> pour le groupe <b>Rininvest</b>.<br><a href="http://rihan.fr/" target="_blank" style="color: rgb(0, 106, 227); ">Consultant</a>-<u>Technicien Supérieur</u> en <i>Informatique de Gestion</i>.<br><u>Ambassadeur</u> <a href="http://lyt.me/7E" target="_blank" style="color: rgb(0, 106, 227); "><b>Qt</b></a> (Projet <a href="http://rihan.fr/fr/projets/tagpg" target="_blank" style="color: rgb(0, 106, 227); "><b></b></a><b><a href="http://rihan.fr/projects/system/tagpg">Tag-PG</a></b>).</div></div>
_______________________________________________<br>pve-user mailing list<br><a href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a><br><a href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a><br></div></blockquote></div><br></div></div></div></span>
<div style="border-bottom: 1px solid #f0f0f0; height: 10px;">
</div>
<br>
<div style="font-weight: bold; font-size: 14px; margin-bottom: 5px;">Pièces jointes :</div>
<div>
<div style="">- smime.p7s</div>
</div>
</blockquote>
<div>
<br>
</div>