<br><tt><font size=2>Joseph Simonds <greenwireless@gmail.com> wrote
on 01/07/2011 20:40:59:<br>
<br>
> Hi - </font></tt>
<br><tt><font size=2>> <br>
> I have been using freenx on ubuntu 10.04 for a while now to connect
<br>
> to a windows machine via RDP tunnel. I absolutely love the speed and<br>
> responsiveness as compared to directly connecting via RDP. I just
<br>
> updated packages on the linux server and noticed a new version got
<br>
> installed from the freenx ppa team. Now when I try to connect with
<br>
> the windows tunnel it gives me this error in /home/user/.nx/some-<br>
> unique-key/session: /usr/lib/nx/nxnode: line 785: <br>
> /usr/lib/nx/nxdesktop: No such file or directory. But if I connect
<br>
> directly to the gnome desktop running on the linux server it <br>
> connects no problem. Any idea what could be going on here?</font></tt>
<br>
<br>
<br><tt><font size=2>I never use RDP (or ubuntu), so I might not be the
best person</font></tt>
<br><tt><font size=2>to answer this . . . . however</font></tt>
<br>
<br><tt><font size=2>As I understand it . . .</font></tt>
<br>
<br><tt><font size=2>nxdesktop used to be a bundled version rdesktop, but
this</font></tt>
<br><tt><font size=2>practice of bundling was was discontinued some versions
ago</font></tt>
<br><tt><font size=2>in favour of using the normal external rdesktop.</font></tt>
<br>
<br><tt><font size=2>The selection of bundled/external can still however
be made</font></tt>
<br><tt><font size=2>in nxnode by setting ENABLE_EXTERNAL_NXDESKTOP</font></tt>
<br><tt><font size=2>but</font></tt>
<br><tt><font size=2>nxloadconfig checks at program launch for the existance
of the</font></tt>
<br><tt><font size=2>nxdesktop executable</font></tt>
<br><tt><font size=2>and (re)sets ENABLE_EXTERNAL_NXDESKTOP=1 if it can't
find it.</font></tt>
<br>
<br><tt><font size=2>THEN, as execution continues . . . </font></tt>
<br>
<br><tt><font size=2>If ENABLE_EXTERNAL_NXDESKTOP=1</font></tt>
<br><tt><font size=2>nxserver changes type from windows to windows-helper.</font></tt>
<br>
<br><tt><font size=2>(It also used to set application=nxdesktop-helper</font></tt>
<br><tt><font size=2>which is a wrapper script for the external rdesktop,</font></tt>
<br><tt><font size=2>presumably the need for wrapping being the reason
for</font></tt>
<br><tt><font size=2>including a bundled version.</font></tt>
<br>
<br><tt><font size=2>Nowadays, application seems to be set to NULL in nxnode)</font></tt>
<br>
<br>
<br><tt><font size=2>THEN . . . . in nxnode</font></tt>
<br>
<br><tt><font size=2>If type=windows</font></tt>
<br><tt><font size=2>nxdesktop gets started by nxnode at "Start the
wanted agent"</font></tt>
<br><tt><font size=2>rdesktop as it was)with application=NULL</font></tt>
<br>
<br><tt><font size=2>This causes a failure, because nxdesktop no longer
exists !!</font></tt>
<br>
<br>
<br><tt><font size=2>**HOWEVER, type is changed to windows-helper by nxserver,</font></tt>
<br><tt><font size=2>when it can't find nxdesktop</font></tt>
<br><tt><font size=2>so</font></tt>
<br><tt><font size=2>I can't quite see how nxnode gets to thinking it should</font></tt>
<br><tt><font size=2>execute nxdesktop**</font></tt>
<br>
<br><tt><font size=2>OR</font></tt>
<br>
<br><tt><font size=2>If type=windows-helper</font></tt>
<br><tt><font size=2>then nxagent gets started by default.</font></tt>
<br><tt><font size=2>It used to run nxdesktop_helper as an application,
but</font></tt>
<br><tt><font size=2>now it seems to be set to run xterm.</font></tt>
<br>
<br><tt><font size=2>It seems to tunnel straight through to the RDP machine.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>It sounds to me like you have ended up with a mix
of</font></tt>
<br><tt><font size=2>versions, or something got corrupted.</font></tt>
<br>
<br><tt><font size=2>Try deinstall+delete remnants/reinstall</font></tt>
<br>
<br><tt><font size=2>Good luck !!</font></tt>
<br>
<br><tt><font size=2>> <br>
> Thanks,</font></tt>
<br><tt><font size=2>> <br>
> Joseph Simonds</font></tt>
<br><tt><font size=2>> greenwireless@gmail.com</font></tt>
<br>