[FreeNX-kNX] Problem using NX Client 2.0.0-98 for Windows from NoMachine

Alastair Johnson alastair at solutiontrax.com
Tue Aug 1 18:34:51 UTC 2006


From an earlier post:

Wolfgang Schweer recently posted the solution below. Search for 
thread 'Version 2 client - Which FreeNX server ?' for full details.

*******************************************
The new client uses 1.4.0 as proto version.

In nxnode:

...

if [ "$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.5.0" ] || [
"$ENABLE_1_5_0_BACKEND" = "1" -a "$clientproto" = "1.4.0" ]
  then
    # enable fake cookie authentication
    cookie=$proxy_cookie
fi

...

will do it.

Wolfgang

On Tuesday 01 August 2006 19:19, Predseda3D wrote:
> Hi,
> I have problem with folowing:
>
> Linux system is debian Etch with installed:
> freenx             0.5.0
> nxagent          1.4.92+1.5.0-11
> libxcomp1       1.4.92+1.5.0-11
> libxcompext1   1.4.92+1.5.0-11
> nxlibs             1.4.92+1.5.0-11
>
> If i want connect from Windows XP machine with NX Client for Windows
> 2.0.0-98 it says Connection error with this detail:
>
> NX> 203 NXSSH running with pid: 1061300
> NX> 285 Enabling check on switch command
> NX> 285 Enabling skip of SSH config files
> NX> 285 Setting the preferred NX options
> NX> 200 Connected to address: 192.168.0.23 on port: 22
> NX> 202 Authenticating user: nx
> NX> 208 Using auth method: publickey
> HELLO NXSERVER - Version 1.5.0-50 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: predseda
> NX> 102 Password:
> NX> 103 Welcome to: iknetbouda user: predseda
> NX> 105 listsession --user="predseda" --status="suspended,running"
> --geometry="1280x800x32+render" --type="unix-kde"
> NX> 127 Sessions list of user 'predseda' for reconnect:
>
> Display Type             Session ID                       Options  Depth
> Screen         Status      Session Name
> ------- ---------------- -------------------------------- -------- -----
> -------------- ----------- ------------------------------
>
>
> NX> 148 Server capacity: not reached for user: predseda
> NX> 105 startsession  --link="lan" --backingstore="1" --nodelay="1"
> --encryption="1" --cache="8M" --images="32M" --media="0"
> --session="iknetbouda" --type="unix-kde" --geometry="1280x770"
> --kbtype="pc102/cz" --screeninfo="1280x770x32+render"
>
> NX> 1000 NXNODE - Version 1.5.0-50 OS (GPL)
> /usr/lib/nx/nxserver: line 1077:  7993 Terminated              sleep
> $AGENT_STARTUP_TIMEOUT
> NX> 105 NX> 596 Session startup failed.
> NX> 1004 Error: NX Agent exited with exit status 1.
> NX> 1006 Session status: closed
> NX> 700 Session id: iknetbouda-1000-69637874694F0621A3288C1D22FBD50C
> NX> 705 Session display: 1000
> NX> 703 Session type: unix-kde
> NX> 701 Proxy cookie: 0badf76c0b715b13942d6ee2b443545e
> NX> 702 Proxy IP: 127.0.0.1
> NX> 706 Agent cookie: 0badf76c0b715b13942d6ee2b443545e
> NX> 704 Session cache: unix-kde
> NX> 707 SSL tunneling: 1
> Can't open
> /var/lib/nxserver/db/running/sessionId{69637874694F0621A3288C1D22FBD50C}:
> No such file or directory.
> mv: cannot stat
> `/var/lib/nxserver/db/running/sessionId{69637874694F0621A3288C1D22FBD50C}':
> No such file or directory
> Killed by signal 15.
>
> I was searching over internet, but nothing happen for me. There was only
> solution for magick cookie, but thats not this problem.
>
> Then, i have old NX Client for Windows 1.5.0-138. I have uninstalled
> 2.0.0-98, remove all .nx and .ssh directory. Install version 1.5.0-138 .
> Connect to my server with this client and all work great. Suspend session
> and reconnect to it, terminate session, create new session.
>
> Then i suspend session. On WinXP machine install NX Client 2.0.0-98 over
> installed version 1.5.0-138 . Connect to my server and it reconnect to
> suspended session and it work good. If i suspend this session and reconnect
> to it, it work good, but when i terminate session and connect to server to
> create new session , the strange error from above follow.
>
> Then i was searching over internet again and find, that on gentoo-wiki has
> someone the same error. You can see it here :
> http://gentoo-wiki.com/Talk:HOWTO_FreeNX_Server#Problem_using_NX_Client_for
>_ Windows_Version_2.0.0-98
>
> He was about to give it working with previous version of NX Client for
> Windows ver. 2.0.0-93. But with version 2.0.0-98 he has the same problem.
>
> Can anybody help with this ?
>
> Thank you.
>
> Predseda
>
> ________________________________________________________________
>      Were you helped on this list with your FreeNX problem?
>     Then please write up the solution in the FreeNX Wiki/FAQ:
>   http://openfacts.berlios.de/index-en.phtml?title=FreeNX_FAQ
>          Don't forget to check the NX Knowledge Base:
>                  http://www.nomachine.com/kb/
>
> ________________________________________________________________
>        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