[FreeNX-kNX] Problem with Windows Me NX Client and SSL encryption

Dominique Blas dblas at blas.net
Wed Oct 26 23:19:03 UTC 2005


Kurt Pfeifle a écrit :

>On Wednesday 26 October 2005 23:11, Dominique Blas wrote:
>
>  
>
>>>I assume it took you several hours before you even *looked* into 
>>>the the node.conf(.sample) file, and once you did, not more than
>>>a few minutes to get to ENABLE_1_5_0_BACKEND, yes?
>>> 
>>>      
>>>
>>No, I looked at the nxserver node.conf as soon as Nxserver was installed.
>>Sorry to say that but in my node.conf there was no mention to
>>
>>ENABLE_1_5_0_BACKEND
>>
>>at all.
>>    
>>
>
>Sorry to say this, but you havent documented at all your own version
>of OS, or the version of (Free)NX which you use, while complaining 
>about missing FreeNX documentation.
>  
>
You're right.
As I tried many configurations I suppose my own node.conf comes from a 
earlier installation of FreeNx.
You'll find  the diff between both (mine and the of freeenx-0.4.4's one) 
following.
Could this explain the fact that a FreeNx 0.4.4 client is not able to 
complete connection to a FreeNX 0.4.4 server ?
I've just tried the node.conf from 0.4.4: nothing new under the moon 
(and yes I restarted the nxserver WITHIN).
But ok, you made the point. If I had installed a fresh version I could 
have saved several hours of my precious time :-)

BTW you'll find the last lines of both the sshlog and the runlog.
As I suppose you're involved in the FreeNx code,  if you could share you 
knowledge about the mean of these lines, it will be useful in the 
troubleshooting section of a future documentation.
And particularly why my agent is finding a closing window!

Thanks,

db

diff /etc/nxserver/node.conf freenx-0.4.4/node.conf.sample
40c40
< # CVS: $Id: node.conf.sample,v 1.29 2005/07/05 21:42:57 fabianx Exp $
---
 > # CVS: $Id: node.conf.sample,v 1.35 2005/08/02 15:39:32 fabianx Exp $
58a59,64
 >
 > # This adds the usermode to the possible authentication methods
 > # Usermode means that a user can start the nxserver as his shell
 > # and connect directly to the right server via a custom client.
 > #ENABLE_USERMODE_AUTHENTICATION="0"
 >
95c101
< DISPLAY_BASE=40000
---
 > #DISPLAY_BASE=1000
98c104
< SESSION_LIMIT=5
---
 > #SESSION_LIMIT=200
106c112
< DISPLAY_LIMIT=5
---
 > #DISPLAY_LIMIT=200
131c137,140
< NX_LOG_LEVEL=6
---
 > #NX_LOG_LEVEL=0
 >
 > # By setting this to 0 the nxserver might be a bit faster, but 
passwords can be found in the log files.
 > #NX_LOG_SECURE=1
135c144
< NX_LOGFILE=/var/log/nxserver.log
---
 > #NX_LOGFILE=/var/log/nxserver.log
181c190
< NOMACHINE_SERVER="/usr/local/bin/nxserver"
---
 > #NOMACHINE_SERVER="/usr/NX/bin/nxserver"
207,208c216,217
< ENABLE_ESD_PRELOAD="1"
< ESD_BIN_PRELOAD="esddsp"
---
 > #ENABLE_ESD_PRELOAD="0"
 > #ESD_BIN_PRELOAD="esddsp"
302a312,314
 > # The tool to generate md5sums with
 > #COMMAND_MD5SUM=md5sum
 >
308c320
< ENABLE_AUTORECONNECT="1"
---
 > #ENABLE_AUTORECONNECT="0"
324a337,340
 > # When set to 1 enables fake cookie authentication, when a 1.5.0 client
 > # connects.
 > #ENABLE_1_5_0_BACKEND="0"
 >
338a355,358
 > # The number of seconds we wait for the nxagent to start before
 > # deciding startup has failed
 > #AGENT_STARTUP_TIMEOUT="60"
 >
354,356d373
<
< #Il FALLAIT LE SAVOIR !
< ENABLE_1_5_0_BACKEND=1


End of sshlog
-----------------

X> 105 listsession --user="db" --status="suspended,running" 
--geometry="1280x960x24+render+fullscreen" --type="unix-gnome"
NX> 127 Sessions list of user 'db' for reconnect:

Display Type             Session ID                       Options  Depth 
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- 
-------------- ----------- -----------------------------
-


NX> 148 Server capacity: not reached for user: db
NX> 105 startsession --session="db" --type="unix-gnome" --cache="8M" 
--images="32M" --cookie="******" --link="lan" --kbtype="pc10
2/" --nodelay="1" --encryption="1" --backingstore="when_requested" 
--geometry="fullscreen" --media="0" --agent_server="" --agent_
user="" agent_password="******""  
--screeninfo="1280x960x24+render+fullscreen"

NX> 1000 NXNODE - Version 1.4.0-44 OS (GPL)
NX> 700 Session id: local-1000-3841D162654CFAB13013A922CB45B5FC
NX> 705 Session display: 1000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 733eb460118f4368967232bc9b45637c
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 733eb460118f4368967232bc9b45637c
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 710 Session status: running
NX> 1002 Commit
NX> 1006 Session status: running
NX> 105 /usr/local/bin/nxserver: line 1041:  7964 
Terminated              ( sleep $AGENT_STARTUP_TIMEOUT; exit 1 )
bye
Bye
NX> 999 Bye
NX> 285 Identified internal connection^M
NX> 285 Using default mode encrypted^M
NX> 285 Identified options: 
nx,options=/var/home/nx/.nx/S-local-1000-3841D162654CFAB13013A922CB45B5FC/options:1000^M
NX> 285 Switching descriptors: 4 and: 5 to: 8^M
^M
NX> 287 Redirected I/O to channel descriptors^M


End of runlog
------------------

[Thu Oct 27 01:18:32 2005]: Received code[287]
[Thu Oct 27 01:18:32 2005]: NXFileMonitor: opened file: 
[/var/home/nx/.nx/S-local-1000-3841D162654CFAB13013A922CB45B5FC/session]
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('NXPROXY - 
Version 1.5.0')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Copyright (C) 
2001, 2005 NoMachine.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('See 
http://www.nomachine.com/ for more information.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Proxy 
running in client mode with pid '4102'.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: 
Synchronizing local and remote caches.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: 
Handshaking with remote proxy completed.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Not 
using NX delta compression.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Using 
lan link parameters 16384/8/0/0.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Not 
using NX delta compression.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Using 
lan link parameters 16384/8/0/0.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Using 
pack method '16m-jpeg-9' with session 'unix-gnome'.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Not 
using ZLIB stream compression.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Not 
using remote ZLIB stream compression.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Not 
using persistent cache.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Starting 
X protocol compression.')
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: 
Established X server connection.')
[Thu Oct 27 01:18:32 2005]: LoginDialog::ShowConnectionStatus code=[247] 
str=[Established X server connection] error=[0]
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol: StopTimeout
[Thu Oct 27 01:18:32 2005]: NXProxyProtocol::receiveData('Info: Using 
shared memory support in X server.')
[Thu Oct 27 01:18:32 2005]: LoginDialog: slotAgentTimer
[Thu Oct 27 01:18:32 2005]: LoginDialog: slotAgentTimer
[Thu Oct 27 01:18:33 2005]: LoginDialog: slotAgentTimer
[Thu Oct 27 01:18:33 2005]: LoginDialog: slotAgentTimer
[Thu Oct 27 01:18:33 2005]: LoginDialog: slotAgentTimer
[Thu Oct 27 01:18:33 2005]: LoginDialog: Agent found closing windows...
[Thu Oct 27 01:18:33 2005]: LoginDialog: not setting automatic reconnect.
[Thu Oct 27 01:18:33 2005]: LoginDialog: closeEvent received!
[Thu Oct 27 01:18:33 2005]: LoginDialog: stopAllTimers
[Thu Oct 27 01:18:33 2005]: LoginDialog: stopProgressTimer
~


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/freenx-knx/attachments/20051026/f502f4f5/attachment.html>


More information about the FreeNX-kNX mailing list