[FreeNX-kNX] FreeNX problem with latest version on Gentoo.
Krist van Besien
krist.vanbesien at gmail.com
Mon Dec 19 19:36:16 UTC 2005
Hello,
I have a problem using FreeNX. I have a Gentoo machin on my networks
border, and first installed FreeNX using the ebuilds coming with
Gentoo. This installs FreeNX 2.8 with NX 1.4
This did work on occasion, but I had some issues, and decided to
upgrade to the latest verions before asking for support here. But I
know have a problem. Basically it doesn't work anymore.
The setup:
I have a Desktop, running Suse Linux. This desktop is part of my home
network, and is connected over the internet via a Gentoo Linux based
firewall. On this firewall I installed FreeNX. I als have a Windows XP
laptop. My goals is to be able to use the Nomachine NX client, connect
with that to the NX service on the firewall, and have NX connect to
the VNCserver on my desktop. With FreeNX2.8 /NX 1.4 I got this more or
less working. Even on a slow connection.
Now with FreeNX 4.2 /NX 1.5 it isn't working anymore. The connection
with the NX service on my firewall works, as I do get a lot in the
log. I upped the logging level to 7, and this is what I typically get:
-- NX SERVER START: -c /usr/NX/bin/nxserver
HELLO NXSERVER - Version 1.4.0-04 OS (GPL)
NX> 105 hello NXCLIENT - Version 1.5.0
NX> 134 Accepted protocol: 1.5.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: krist
NX> 102 Password:
Info: Auth method: passdb ssh
NX> 103 Welcome to: kroatan user: krist
NX> 105 listsession --user="krist" --status="suspended,running"
--geometry="1280x1024x32+render" --type="unix-application"
NX> 127 Sessions list of user 'krist'
Display Username Remote IP Session ID
------- --------------- --------------- --------------------------------
NX> 105 startsession --session="RincewindXterm"
--type="unix-application" --application="startfluxbox" --cache="8M"
--images=
"32M" --cookie="a4ca151663cbc53524c14fccd2be22e1" --link="adsl"
--virtualdesktop="0" --taint="1" --kbload="pc102/de_CH" --key
map="de_CH" --kbtype="pc102/de_CH" --keybd="1" --nodelay="1"
--encryption="1" --backingstore="when_requested" --media="0" --a
gent_server="" --agent_user="" --agent_password="" --agent_domain=""
--screeninfo="1280x994x32+render"
user=krist&userip=138.190.3.172&uniqueid=6A18B77582BAB0F18A4E830E985E08ED&display=1001&&session=RincewindXterm&type=unix-appl
ication&application=startfluxbox&cache=8M&images=32M&cookie=a4ca151663cbc53524c14fccd2be22e1&link=adsl&virtualdesktop=0&taint
=1&kbload=pc102/de_CH&keymap=de_CH&kbtype=pc102/de_CH&keybd=1&nodelay=1&encryption=1&backingstore=when_requested&media=0&agen
t_server=&agent_user=&agent_password=&agent_domain=&screeninfo=1280x994x32+render
Password:
NX> 1000 NXNODE - Version 1.4.0-04 OS (GPL)
user=krist&userip=138.190.3.172&uniqueid=6A18B77582BAB0F18A4E830E985E08ED&display=1001&&session=RincewindXterm&type=unix-appl
ication&application=startfluxbox&cache=8M&images=32M&cookie=a4ca151663cbc53524c14fccd2be22e1&link=adsl&virtualdesktop=0&taint
=1&kbload=pc102/de_CH&keymap=de_CH&kbtype=pc102/de_CH&keybd=1&nodelay=1&encryption=1&backingstore=when_requested&media=0&agen
t_server=&agent_user=&agent_password=&agent_domain=&screeninfo=1280x994x32+render
NX> 700 Session id: kroatan-1001-6A18B77582BAB0F18A4E830E985E08ED
NX> 705 Session display: 1001
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: 4e553980e5d406dca2a78a5d833fd166
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: a4ca151663cbc53524c14fccd2be22e1
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 bye
Bye
NX> 999 Bye
NX> 1009 Session status: terminating
NX> 1006 Session status: closed
NX> 1001 Bye.
In the above log there is one thing that strikes me as odd: The
version NXserver seems to think it is running is 1.4, but I am
possitive I am on 1.5. Running nxproxy - v confirms this.
The NX client's log is this:
Warning: Overriding auxiliary X port with port '7001'.
NXPROXY - Version 1.5.0
Copyright (C) 2001, 2005 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '2220'.
Info: Synchronizing local and remote caches.
Info: Handshaking with remote proxy completed.
Info: Using cache parameters 4/262144/8192KB/8192KB.
Info: Using adsl link parameters 8192/16/10/50.
Info: Using pack method 'no-pack' with session 'unix-application'.
Info: Using ZLIB data compression level 3.
Info: Using ZLIB data threshold set to 32.
Info: Using ZLIB stream compression level 6.
Info: Using remote ZLIB data compression level 3.
Info: Using remote ZLIB stream compression level 6.
Info: No suitable cache file found.
Info: Forwarding auxiliary X connections to port '7001'.
Info: Starting X protocol compression.
Warning: Cookie mismatch in the authentication data.
Warning: Cookie mismatch in the authentication data.
Info: End of session requested by remote proxy.
Info: Shutting down the link and exiting.
And the config file for the session is this:
<!DOCTYPE NXClientSettings>
<NXClientSettings application="nxclient" version="1.3" >
<group name="Advanced" >
<option key="Cache size" value="8" />
<option key="Cache size on disk" value="32" />
<option key="Current keyboard" value="true" />
<option key="Custom keyboard layout" value="us" />
<option key="Disable TCP no-delay" value="false" />
<option key="Disable ZLIB stream compression" value="false" />
<option key="Enable SSL encryption" value="true" />
<option key="Restore cache" value="true" />
<option key="StreamCompression" value="" />
</group>
<group name="Environment" >
<option key="Font server host" value="" />
<option key="Font server port" value="7100" />
<option key="Use font server" value="false" />
</group>
<group name="General" >
<option key="Automatic reconnect" value="true" />
<option key="Backingstore" value="never" />
<option key="Command line" value="startfluxbox" />
<option key="Custom Unix Desktop" value="application" />
<option key="Desktop" value="console" />
<option key="Link speed" value="adsl" />
<option key="Remember password" value="true" />
<option key="Resolution" value="available" />
<option key="Resolution height" value="600" />
<option key="Resolution width" value="800" />
<option key="Server host" value="kroatan.vanbesien.net" />
<option key="Server port" value="119" />
<option key="Session" value="unix" />
<option key="Use default image encoding" value="0" />
<option key="Use render" value="true" />
<option key="Use taint" value="true" />
<option key="Virtual desktop" value="false" />
<option key="XAgent encoding" value="true" />
<option key="displaySaveOnExit" value="true" />
<option key="xdm broadcast port" value="177" />
<option key="xdm list host" value="localhost" />
<option key="xdm list port" value="177" />
<option key="xdm mode" value="server decide" />
<option key="xdm query host" value="localhost" />
<option key="xdm query port" value="177" />
</group>
<group name="Images" >
<option key="Disable JPEG Compression" value="0" />
<option key="Disable all image optimisations" value="false" />
<option key="Image Compression Type" value="0" />
<option key="Image Encoding Type" value="0" />
<option key="Image JPEG Encoding" value="false" />
<option key="JPEG Quality" value="6" />
<option key="RDP optimization for low-bandwidth link" value="false" />
<option key="Reduce colors to" value="" />
<option key="Use PNG Compression" value="true" />
<option key="VNC images compression" value="0" />
<option key="Windows Image Compression" value="1" />
</group>
<group name="Login" >
<option key="Auth" value="..." />
<option key="Public Key" value="-----BEGIN DSA PRIVATE KEY-----
...
-----END DSA PRIVATE KEY-----
" />
<option key="User" value="krist" />
</group>
<group name="Services" >
<option key="Audio" value="false" />
<option key="IPPPort" value="631" />
<option key="IPPPrinting" value="false" />
<option key="Shares" value="false" />
</group>
<group name="VNC Session" >
<option key="Display" value="0" />
<option key="Remember" value="false" />
<option key="Server" value="" />
</group>
<group name="Windows Session" >
<option key="Application" value="" />
<option key="Authentication" value="2" />
<option key="Color Depth" value="8" />
<option key="Domain" value="" />
<option key="Image Cache" value="true" />
<option key="Password" value="EMPTY_PASSWORD" />
<option key="Remember" value="true" />
<option key="Run application" value="false" />
<option key="Server" value="" />
<option key="User" value="" />
</group>
<group name="share chosen" >
<option key="Share number" value="0" />
</group>
</NXClientSettings>
I hope I've given enough information. Thanks in advance for any help
and/or hints.
Krist
--
krist.vanbesien at gmail.com
Solothurn, Switzerland
More information about the FreeNX-kNX
mailing list