<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I would like to help you but can you give more informations or tell
us how to try what you have done.<br>
<br>
<br>
<br>
Le 06/07/2012 15:14, Julio Carlos Barrera Juez a écrit :
<blockquote
cite="mid:295E81EACA263F4F9F7422B32092845C1C67F8EE@DBXPRD0710MB396.eurprd07.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texto de globo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EstiloCorreo17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EstiloCorreo18
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EstiloCorreo19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.TextodegloboCar
{mso-style-name:"Texto de globo Car";
mso-style-priority:99;
mso-style-link:"Texto de globo";
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">Hi
again!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">I
have debugged the scenario a little bit more and I noticed
that the local ‘nxproxy’ didn’t receive any data from the
remote one. The SSL port forwarded tunnel is well
established because I have tested it separately. But anyway
the local ‘nxproxy’ remains in a the ‘ProxyStage’ called
‘stage_waiting_proxy_version’. It is the one after stage
‘stage_connected’. Then it seems the tunnel was not well
established… a contradiction.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">I
need some help with that, for sure.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">Thank
you!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES"
lang="EN-GB">De:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES"
lang="EN-GB"> <a class="moz-txt-link-abbreviated" href="mailto:freenx-knx-bounces@kde.org">freenx-knx-bounces@kde.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freenx-knx-bounces@kde.org">mailto:freenx-knx-bounces@kde.org</a>] <b>En nombre de </b>Julio
Carlos Barrera Juez<br>
<b>Enviado el:</b> viernes, 06 de julio de 2012 14:03<br>
<b>Para:</b> User Support for FreeNX Server and kNX
Client<br>
<b>Asunto:</b> Re: [FreeNX-kNX] establish a encrypted NX
session using an alternative SSH client<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">Hi
again, I have noticed that remote ‘nxagent’ is listening on
the correct port and when local ‘nxproxy’ starts the
connection is established. But the session fails after 1
minute. It seems that a negotiation between both is not well
done. I invoke the ‘nxproxy’ by the same way with ‘nxssh’
and with my custom program and SSL port forwarded tunnel,
the it must be a negotiation failure.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">The
‘nxnode’ log shows me the failure, but not the reason:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">06.07 13:49:49: node_start_agent (8225): Wait
for NODE_AGENT_PID (8524)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">06.07 13:50:35: node_start_agent (8225):
NODE_AGENT_EXIT_STATUS = "1"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">06.07 13:50:35: node_start_agent (8225): close
session<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">06.07 13:50:35: node_start_agent (8225):
NODE_FAILED = "failed"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">And
the session log shows a failure with the display, but I
don’t understand why:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">NXAGENT
- Version 3.5.0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">Copyright
(C) 2001, 2011 NoMachine.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">See
<a moz-do-not-send="true" href="http://www.nomachine.com/">
http://www.nomachine.com/</a> for more information.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Info: Agent running with pid '8524'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Session: Starting session at 'Fri Jul 6
13:49:32 2012'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Info: Proxy running in server mode with pid
'8524'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Info: Waiting for connection from '127.0.0.1'
on port '6011'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Info: Accepted connection from '127.0.0.1'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Info: Aborting the procedure due to signal '1'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Error: Aborting session with
<b>'Unable to open display</b>
'nx/nx,options=/home/logoff/.nx/C-Virtual-Xubuntu-2011-2759B7A3A04A7A53439B9CD1E7ED183E/options:2011''.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Session: Aborting session at 'Fri Jul 6
13:50:32 2012'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB">Session: Session aborted at 'Fri Jul 6
13:50:32 2012'.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;color:#1F497D"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">What
I’m doing bad?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB">Thank
you!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D" lang="EN-GB"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES"
lang="EN-GB">De:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";mso-fareast-language:ES"
lang="EN-GB"> <a class="moz-txt-link-abbreviated" href="mailto:freenx-knx-bounces@kde.org">freenx-knx-bounces@kde.org</a>
[<a class="moz-txt-link-freetext" href="mailto:freenx-knx-bounces@kde.org">mailto:freenx-knx-bounces@kde.org</a>] <b>En nombre de </b>Julio
Carlos Barrera Juez<br>
<b>Enviado el:</b> viernes, 06 de julio de 2012 13:04<br>
<b>Para:</b> <a class="moz-txt-link-abbreviated" href="mailto:freenx-knx@kde.org">freenx-knx@kde.org</a><br>
<b>Asunto:</b> [FreeNX-kNX] establish a encrypted NX
session using an alternative SSH client<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Hi all.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I’m developing a Java
based NX client. In my first sprint I have developed a NX
handler to establish NX sessions using a SSH pure Java
library called JSCH (<a moz-do-not-send="true"
href="http://www.jcraft.com/jsch/">http://www.jcraft.com/jsch/</a>).
It worked with few source code lines and I achieve
establishing NX sessions without encryption (SSL Port
forwarding). Now I’m trying to do the same, but using
encrypted NX sessions that only use one SSH port. I change
the ‘startsession’ parameter and I create a SSL forwarded
tunnel in my SSH client. I know that using ‘nxssh’, it is
necessary to say ‘bye’ to the server and then write the
command ‘NX> 299 Switch connection to: SSH port:
local_port accept: 127.0.0.1’. Then I launch ‘nxproxy’ and
the remote NX session starts.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">The problem appeared
when I tried to launch the original ‘nxproxy’ with my custom
SSL port forwarded tunnel. ‘nxproxy’ connected with the
local listening port, but it seems it didn’t connect with
the remote ‘nxagent’ which was listening in the correct
port. Maybe I was establishing bad the port forwarded
tunnel, but I have no evidences of it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">It is possible to
establish the whole connection using ‘openssh’ standard
client instead of ‘nxssh’, it will help me a lot to
understand the whole process.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Any help will be
appreciated.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Thank you!<o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">________________________________________________________________
Were you helped on this list with your FreeNX problem?
Then please write up the solution in the FreeNX Wiki/FAQ:
<a class="moz-txt-link-freetext" href="http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ">http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ</a>
Don't forget to check the NX Knowledge Base:
<a class="moz-txt-link-freetext" href="http://www.nomachine.com/kb/">http://www.nomachine.com/kb/</a>
________________________________________________________________
FreeNX-kNX mailing list --- <a class="moz-txt-link-abbreviated" href="mailto:FreeNX-kNX@kde.org">FreeNX-kNX@kde.org</a>
<a class="moz-txt-link-freetext" href="https://mail.kde.org/mailman/listinfo/freenx-knx">https://mail.kde.org/mailman/listinfo/freenx-knx</a>
________________________________________________________________</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Jean Milot - <a class="moz-txt-link-abbreviated" href="mailto:jmilot@dotriver.eu">jmilot@dotriver.eu</a> - <a class="moz-txt-link-abbreviated" href="http://www.dotriver.eu">www.dotriver.eu</a> <a class="moz-txt-link-rfc2396E" href="http://www.dotriver.eu/"><http://www.dotriver.eu/></a>
5 passage de l'avenir, F-69200 Vénissieux
Fixe: +33 (0)4 27 46 39 80 Hotline: # 89 Fax: # 81
Rencontrez DotRiver : Salon Use-IT 2012 (<a class="moz-txt-link-freetext" href="http://bit.ly/IV8U81">http://bit.ly/IV8U81</a>),
Festival Temps Libre (<a class="moz-txt-link-freetext" href="http://bit.ly/L6YbwD">http://bit.ly/L6YbwD</a>)
DotRiver, membre du consortium "nuage" (<a class="moz-txt-link-freetext" href="http://bit.ly/LNIfMr">http://bit.ly/LNIfMr</a>)
Pas à pas, agissons au quotidien pour préserver notre environnement. N'imprimez que si nécessaire, réduisez les déchets informatiques et économisez l'énergie en utilisant les solutions DotRiver.</pre>
</body>
</html>