[FreeNX-kNX] nxagent error?

Brendan brendan at carramar.com
Wed Jan 4 10:22:14 UTC 2006


terander at guard.zapto.org wrote:

>>Hi Sr.s,
>>
>>I need help, the auth is ok, but after occurs this error:
>>
>>nxserver.log
>>
>>NX> 705 Session display: 1017
>>NX> 703 Session type: unix-kde
>>NX> 701 Proxy cookie: dbeb0924eabd1f6a3fa015caa8b8526a
>>NX> 702 Proxy IP: 10.62.102.167
>>NX> 706 Agent cookie: e411ccab27218aabb20696fce9bd16a5
>>NX> 704 Session cache: unix-kde
>>NX> 707 SSL tunneling: 0
>>NX> 1004 Error: Session did not start.
>>NX> 504 Session startup failed.
>>NX> 999 Bye
>>NX> 1004 Error: nxagent failed to start. Session timed out.
>>                Blocking 1017 again ...
>>NX> 1001 Bye.
>>NX> 504 Session startup failed.
>>    
>>
>
>Have you tried to enable ssl encryption in the client ? If you're server
>is behind a fw/router that does port-forwarding of ssh (TCP/22), then you
>need to enable ssl.
>
>If not, you can try starting nxagent in a console-window to see if you get
>any errors - there was a discussion here earlier on how to do that.
>If I remember correctly, I think I had something similar to this after a
>upgrade of FreeNX, and in my case it was only resolved by completely
>removing FreeNX + config, and reinstall it... (but this may be something
>completely different since my memory may be faulty on this ;-))
>
>       /Terje
>
>_______________________________________________
>FreeNX-kNX mailing list
>FreeNX-kNX at kde.org
>https://mail.kde.org/mailman/listinfo/freenx-knx
>  
>
I recently built freenx from scratch on a Sparc/Debian box, and had 
problems with nxagent, which was hard to troubleshoot.  I've written up 
the details, and will post it somewhere useful sometime, but here's the 
section on how I managed to get nxagent working.  Note that I used the 
commercial directory structure (/usr/NX), not the freenx structure under 
var.......

    Library Troubleshooting
    -----------------------
    12.  After authentication, my session startup failed.

        NX> 1004 Error: nxagent failed to start. Session timed out.
        NX> 1001 Bye.

    So it looks like nxagent isn't working.  Trying to run nxagent
    manually fails, so it looks like I haven't built it yet.  Or rather,
    it has installed it elsewhere!  I searched and found the (new)
    version and copied it across:
        cp /usr/X11R6/bin/nxagent /usr/NX/bin

    However, nxagent was still failing.  Tried to test it using
    instructions from the mailing list:
        LD_LIBRARY_PATH="/usr/NX/lib" /usr/NX/bin/nxagent :1000

        /usr/NX/bin/nxagent: error while loading shared libraries:
    /usr/NX/lib/libXext.so.6: ELF file data encoding not big-endian

    Again, it appears that the make install in the X11 directory copies
    stuff into the X11R6 directory, so I need to update the NX/lib:

        cp /usr/X11R6/lib/libXext.so.6.4 /usr/NX/lib/
        cp /usr/X11R6/lib/libXrender.so.1.2 /usr/NX/lib/
        cp /usr/X11R6/lib/libX11.so.6.2 /usr/NX/lib/

    Yes, I know, I should have linked it.  But it was late!



Of course, your problem could be completely different, but you never know!

regards,

Brendan.

-- 
------------------------------------------------
Email:    brendan at carramar.com
LinkedIn: https://www.linkedin.com/e/fps/675274/


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


More information about the FreeNX-kNX mailing list