[FreeNX-kNX] kNX behind a firewall (only port 22 open) unusable?

LROUFAIL at nc.rr.com LROUFAIL at nc.rr.com
Sun Feb 20 19:21:43 UTC 2005


It looks it installs and runs fine.

based on the output it looks like you just need to add the password to your config file.  It should fail a lot more gracefully than it does!

Maybe I will work on that for the next version.  Also, now nomachine has released the encryption routine they use in the config file, so someone could create a patch to use the config file without modifications.

These instructions are on the website:

There are a couple of changes you have to make to the configuration file to make it work. I could not get the NX Client to generate the password that the server expects, so I had to create the nxpassgen utility to generate it. Just execute the utility. It will ask for the NX username and password. In the configuration file, in the Login group, add an entry for the password. It should look like this:

<group name="Login" >
   <option key="Password" value="password from nxpassgen" />
   <option key="User" value="the user" />
</group>

Try that and let me know if it helps.

- L



----- Original Message -----
From: Tomasz Chmielewski <mangoo at interia.pl>
Date: Sunday, February 20, 2005 12:02 pm
Subject: Re: [FreeNX-kNX] kNX behind a firewall (only port 22 open) unusable?

> LROUFAIL at nc.rr.com wrote:
> > What is you operating system/distribution?
> 
> I'm running Mandrake Cooker. Since it's a development version, 
> things 
> can crash here :)
> I tried Mozilla Firefox downloaded from www.mozilla.org - it 
> doesn't 
> crash, but freezes instead.
> 
> 
> 
> > Did you go through the troubleshooting steps?
> 
> Yes, I didn't figure out much.
> 
> Basically it doesn't install for me when I use /cgi-
> bin/moznxdemo.pl - 
> it says to look into the log (but doesn't give a clue about where 
> that 
> log is).
> 
> So I installed this plugin by pointing at moznx.xpi file directly -
> 
> after installing in this way, I could see the plugin when I did 
> about:plugins.
> 
> 
> > Is there an install log from mozilla/firefox that you could send me?
> 
> Yes there is if I use www.mozilla.org version of Mozilla Firefox:
> 
> # /opt/firefox/firefox
> stream created
> /root/.mozilla/firefox/6njw9tw1.default/Cache/2EDA2B21d01
> Info: /root/.mozilla/firefox/6njw9tw1.default/Cache/2EDA2B21d01.
> Info: moznx - version .2 (based on NXRUN - version 1.3.1-1).
> Info: NXConnection created.
> Info: setting 'NX_PersonalDirectory' to '/root/.nx'.
> Info: checking cookie...
> Info: setting 'NX_CookieTempFilePath' to 
> '/root/.nx/temp/15184/authlog'.Info: cookie found...
> Info: setting 'NX_SshPath' to '/usr/NX/bin/nxssh'.
> Info: setting 'NX_SshKeyPath' to '/usr/NX/share/client.id_dsa.key'.
> Info: setting 'NX_SshLogPath' to '/root/.nx/temp/15184/sshlog'.
> SettingsToParameters : setting 'NX_SessionName' to 
> ''/root/.mozilla/firefox/6njw9tw1.default/Cache/2EDA2B21d01'.
> SettingsToParameters : setting 'NX_Username' to ' + tch'.
> SettingsToParameters : setting 'NX_PasswordMD5' to 'xxxxx'.
> SettingsToParameters : setting 'NX_HostName' to ''127.0.0.1'.
> SettingsToParameters : setting 'NX_HostPort' to 
> '%d'.SettingsToParameters : setting 'NX_LinkSpeed' to ''modem'.
> Info: setting 'NX_DesktopGeometry' to '800x600+0+0'.
> SettingsToParameters : setting 'NX_SessionType' to 'unix-rfb'.
> SettingsToParameters : setting 'NX_Keyboard' to 
> '%s'.SettingsToParameters : setting 'NX_EnableTcpNoDelay' to '1'.
> SettingsToParameters : setting 'NX_EnableStreamCompression' to 
> '%d'.1'.SettingsToParameters : setting 'NX_EnableEncryption' to '0'.
> SettingsToParameters : setting 'NX_RestoreCache' to '1'.
> SettingsToParameters : setting 'NX_CacheSizeInMemory' to ''8m'.
> SettingsToParameters : setting 'NX_CacheSizeOnDisk' to ''32m'.
> NXTransport (nxssh): creating new process.
> NXTransport (nxssh): new process created.
> NXTransport (nxssh): set flags for redirection.
> NXTransport (nxssh): set default parameter 'NX_SshName'.
> NXTransport (nxssh): parameter 'NX_Password' is empty.
> Parameter 'NX_Password' is empty.
> *** glibc detected *** realloc(): invalid next size: 0x09049918 ***
> 
> 
> > Are the files actually loaded into the ~/.mozilla/plugins and 
> ~/nx/ directories?
> 
> I had to install moznx.xpi manually by pointing a browser to that 
> file; 
> so there was a file in ~/.mozilla/plugins/libnpmoznx.so
> 
> 
> > Did you try using ldd to determine if dependencies are met (from 
> the troubleshooting steps)?
> 
> I did:
> 
> # ldd libnpmoznx.so
>         linux-gate.so.1 =>  (0xffffe000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb7f6a000)
>         libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0xb7f62000)
>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0xb7f54000)
>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0xb7e87000)
>         libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0xb7e35000)
>         libdl.so.2 => /lib/libdl.so.2 (0xb7e30000)
>         libm.so.6 => /lib/tls/libm.so.6 (0xb7e0d000)
>         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7d4d000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb7d44000)
>         libpthread.so.0 => /lib/tls/libpthread.so.0 (0xb7d32000)
>         libc.so.6 => /lib/tls/libc.so.6 (0xb7c09000)
>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0xb7bff000)
>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0xb7be7000)
>         /lib/ld-linux.so.2 (0x80000000)
> 
> but I don't know what it means :)
> 
> 
> If you have further questions, please ask.
> 
> Tomek
> _______________________________________________
> FreeNX-kNX mailing list
> FreeNX-kNX at kde.org
> https://mail.kde.org/mailman/listinfo/freenx-knx
> 




More information about the FreeNX-kNX mailing list