[FreeNX-kNX] Connecting to Windows computers from Linux via FreeNX

lkolchin at univ.haifa.ac.il lkolchin at univ.haifa.ac.il
Fri Dec 2 19:08:23 UTC 2005


Hello All,

I've read Kurt's post (http://www.linuxjournal.com/article/8342#comment-53601) on connecting to Windows computers from Linux desktop using FreeNX server as proxy.
Now I'm trying to implement this scenario.
Actually I'm interesting in the following 2 scenarious:
Connecting an NX client to a VNC server:

Xdisplay/NXclient <--(NX protocol)--> NXserver-proxy/nxviewer <--(RFB protocol)--> VNCserver

Connecting an NX client to a Windows Terminal Server:

Xdisplay/NXclient <--(NX protocol)--> NXserver-proxy/nxdesktop <--(RDP protocol)--> WindowsTerminalServer

I've installed FreeNX server on SLES9 machine and set it up with: 
nxsetup --install --setup-nomachine-key
nxserver --adduser <username>

And it works OK, I can connect to it from Linux/Windows Clients.


Now I go to /etc/nxserver/node.conf on the server and make the following changes:

#########################################################################
# Forwarding directives
#########################################################################

# FreeNX with ENABLE_SERVER_FORWARD="1" will automatically forward all
# connections to the host specified in SERVER_FORWARD_HOST with the
# secret key SERVER_FORWARD_KEY.
#
# This allows to have a "chain" of NX Servers. Note that you will need to
# use "SSL encryption" for all connections.

ENABLE_SERVER_FORWARD="1"
SERVER_FORWARD_HOST="62.72.41.136"
SERVER_FORWARD_PORT=3389
#########################################

I'm configuring a Windows Terminal Server session like in this http://www.nomachine.com/howto/rdp-session tutorial, and trying to login from the client on Linux,and it failes with the following log on the client machine:

NX> 203 NXSSH running with pid: 6614
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 200 Connected to address: 62.72.41.20 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
Warning: Identity file /usr/NX/share/client.id_dsa.key does not exist.
NX> 280 Ignoring EOF on the monitored channel
NX> 280 Ignoring CLOSE on the monitored channel
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh: 132.74.41.136:3389: Name or service not known
Killed by signal 15.
-----------------------------------


Please instruct me how to make it work?


Best Regards,
Leon Kolchinsky



More information about the FreeNX-kNX mailing list