[FreeNX-kNX] NX Agent exited with exit status 1

Fabian Franz FabianFranz at gmx.de
Wed Apr 11 16:21:46 UTC 2007


> here are my startsession arguments:
> > startsession --session="test" --type="unix-kde" --cache="8M" 
> > --images="32M" --link="lan" --kbtype="pc105/de" --nodelay="1" 
> > --backingstore="when_requested" --geometry="640x480+380+251" 
> > --media="0" --agent_server="" --agent-user="" --agent_password="" 
> > --screeninfo="640x480x24+render"
> 
> and here is the answer from the nxnode:
> 
> > NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
> > NX> 700 Session id: GoKart-2-1000-C9ECC506F8BEF5E160939ADB4FEDD47A
> > NX> 705 Session display: 1000
> > NX> 703 Session type:
> > NX> 701 Proxy cookie: 63e57f56b78670b7d7ac64bbbee4a9fb
> > NX> 702 Proxy IP: 192.168.125.1
> > NX> 706 Agent cookie: 63e57f56b78670b7d7ac64bbbee4a9fb
> > NX> 704 Session cache:
> > NX> 707 SSL tunneling: 0
> > NX> 1009 Session status: starting
> > NX> 1004 Error: NX Agent exited with exit status 1.
> > NX> 105 NX> 596 Session startup failed.
> > NX> 1006 Session status: closed
> > NX> 1001 Bye.
> 
> 
> so, i dont send cookies, yes. Is to sending cookies necessary? I dont 
> think so but i dont really know.

Yes, it is necessary.

echo $RANDOM | md5sum should give you a cookie.

In the options file of the proxy you also need to set cookie='cookie'.

Because it is used for authentication of proxy against nxagent.

And the fake cookie is also replaced through display cookie by nxproxy ...

Be sure that you also use the:

hello nxclient - Version 1.5.0

or higher, because else the old behaviour of cookies is assumed.

cu

Fabian



More information about the FreeNX-kNX mailing list