[FreeNX-kNX] FreeNX & SuSE 9.3 (SOLVED)

Alexander Rettig alec_tigger at web.de
Sat Sep 10 20:51:35 UTC 2005


Hi Folks,

first of all, thanks for NX/FreeNX. I just was in trouble with FreeNX/kNX and found out that *if* you want to play with keys you have to do it a little different to get kNX running:

After performing on the designated NX-server machine, e.g. mynxserver, 

nxsetup --install --clean --purge

you have to copy the generated key to the directory on all NX-client hosts, where kNX looks for the key; I'd propose to do the following steps on all machines as root, where the kNX-client should run:

# keep a copy in case you want to switch back to the NoMachine-key
mv /usr/share/knx/client.id_dsa.key /usr/share/knx/client.id_dsa.key.org
# copy the generated key
scp root at mynxserver:/var/lib/nxserver/home/.ssh/client.id_dsa.key /usr/share/knx/client.id_dsa.key
# make sure it has the same permissions as the original kNX-key
chmod --reference=/usr/share/knx/client.id_dsa.key.org /usr/share/knx/client.id_dsa.key

Big disadvantage of this solution: you won't be able to connect to any NX-Server, which uses a different key, including all servers configured with --setup-nomachine-key.

This leads to a question (any kNX-developers here?) - is there a chance to store several client-keys to be used by kNX thus enabling you to connect to several servers which use different keys? If not, what do you think about it, hard to implement?

Hope it helps, and - if you have a working solution already, better ignore this mail ;-)

Alex

PS: be aware: this holds for SuSE 9.3. If you use another distribution you may have to find out where kNX looks for it's client-key.

...
> On Tue, 2005-08-09 at 17:40 -0700, Art Fore wrote:
>> I will be back home Friday afternoon. Will run the uninstall script, 
>> remove all of the rpms, and reinstall from Suse 9.3 DVD and give it one 
>> last try.
>> 
> Art,
>
> I've read your earlier posts (and some of the feedback).
>
> I run the YAST available FreeNX quite comfortably on my Suse 9.3 box.
>
> The YAST available version is 0.3.1-3 (quite old) and most of the
> discussion in these forums is re: 0.4.2 or later (just be aware).
>
> You stated that you installed with 
> nxsetup --install --setup-nomachine-key 
> but then tried to find keys etc. You don't need to with the
> --setup-nomachine-key option. It uses the nomachine key and doesn't
> generate special keys (the other option is avaiable if you don't use the
> --setup-nomachine-key option). The nomachine key is included with the
> 1.4 client. So DON'T play with keys.
>
> As Fabian stated earlier 1.5.0 isn't designed to connect to older
> versions of FreeNX, so I'd stick to 1.4 of the client.
>
> Trevor B
...



More information about the FreeNX-kNX mailing list