[FreeNX-kNX] Problem using NX Client 2.0.0-98 for Windows fromNoMachine - IT'S NOT fake cookie auth PROBLEM

Predseda3D predseda at ik-net.cz
Tue Aug 1 19:17:24 UTC 2006


Hi,
Thank for your reply, but that's not this problem.
Please read my previous post carefuly. My english is not so good but please read.

I have freeNX 0.5.0 . In nxnode isn't ENABLE_1_5_0_BACKEND, but I found code which is
similary to this and hacked it, as there is only:

if [ "$clientproto" = "1.5.0" ]
then
		# enable fake cookie authentication

I change it to:
if [ "$clientproto" = "1.5.0" ] || [ "$clientproto" = "1.4.0" ]
then
		# enable fake cookie authentication

, but that not help me. The error is same as I described in my previous post.

Now I purge freenx 0.5.0 from server and install 0.4.4+0.4.5-4 and hack it for fake cookie
authentication.
The error is same as I described in my previous post.

With NX Client version 1.5.0-138 I can connect to server and create new session, suspend
session, reconnect to suspended session, terminate session.
With NX Client 2.0.0-98 I can ONLY reconnect to suspended session, but if I want create
session the error which I post early follow.

As you can see in my previous post from log, the new NX Client ver. 2.0.0-98 uses 1.5.0 as
proto version.

It seems, that something is wrong with this new client, but I don't know what.

Thank

Predseda 

On Tuesday, August 01, 2006 8:35 PM, Alastair Johnson wrote:
> 
> 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 200 Connected to address: 
> > NX> 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{69637874694F0621A3288C1
> D22FBD50C}:
> > No such file or directory.
> > mv: cannot stat
> > 
> `/var/lib/nxserver/db/running/sessionId{69637874694F0621A3288C
> 1D22FBD50C}':
> > 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
> > ________________________________________________________________
> 
> ________________________________________________________________
>      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