[FreeNX-kNX] How to debug: nxagent does not start. (Porting to FreeBSD)

Mathias Picker Mathias.Picker at gmx.de
Fri Mar 23 11:59:14 UTC 2007


Hello all,

I'm new to this list, and nx, and I still want to finish the port of nxserver 2.1 / freenx 0.6 to FreeBSD...

thankfully, Dewey Hylton did the hard work of getting it to compile. Still, it does not run: http://www.deweyonline.com/nx/freebsd.html

What does run? 
local nxproxy connections seem to work (nxproxy -C :1000; nxproxy -S :1000; set DISPLAY=:1000;xterm works fine), nxagent displays it's startup screen when startet locally.

What does not work?
Using nxclient 2.1, nxagent does not start, the session fails. I get a "unable to open display" error - does this mean nxproxy is not started?

So, my question is: how do I debug this further? I'm really not experienced in debugging this kind of network & bash / c combinations. Any tips, hints, recipes?

Thanks for any help

Logs:
mp# cat F-C-mp-1001-59B51CC06489C7E668B5C957B82423B0/session 

NXAGENT - Version 2.1.0

Copyright (C) 2001, 2006 NoMachine.
See http://www.nomachine.com/ for more information.

Info: Agent running with pid '31439'.
Session: Starting session at 'Fri Mar 23 12:16:59 2007'.
Warning: Signal 'SIGINT not installed in process with pid '31439'.
Warning: Signal 'SIGTERM not installed in process with pid '31439'.
Warning: Signal 'SIGHUP not installed in process with pid '31439'.

Fatal server error:
Error: Unable to open display 'nx/nx,options=/Users/mathiasp/.nx/C-mp.virtual-earth.de-1001-59B51CC06489C7E668B5C957B82423B0/options:1001'.

mp# tail /var/log/nxserver.log
NX> 105 startsession  --link="lan" --backingstore="1" --nodelay="1" --cache="8M" --images="32M" --media="0" --session="localhost" --type="unix-gnome" --geometry="1400x998" --fullscreen="1" --kbtype="pc105/de" --screeninfo="1400x1050x24+render+fullscreen" 

&link=lan&backingstore=1&nodelay=1&cache=8M&images=32M&media=0&session=localhost&type=unix-gnome&geometry=1400x998&fullscreen=1&kbtype=pc105/de&screeninfo=1400x1050x24+render+fullscreen&clientproto=1.5.0&user=mathiasp&userip=127.0.0.1&uniqueid=59B51CC06489C7E668B5C957B82423B0&display=1001&host=127.0.0.1 
Password:
NX> 1000 NXNODE - Version 1.5.0-60 OS (GPL)
NX> 700 Session id: mp.virtual-earth.de-1001-59B51CC06489C7E668B5C957B82423B0
NX> 705 Session display: 1001
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 1454873a800f45739d2f848bc54b1ae7
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 1454873a800f45739d2f848bc54b1ae7
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 0
NX> 1009 Session status: starting
NX> 1004 Error: NX Agent exited with exit status 1.
NX> 1006 Session status: closed
NX> 1001 Bye.
NX> 105 NX> 596 Session startup failed.


mp# uname -a
FreeBSD mp 6.2-STABLE FreeBSD 6.2-STABLE #4: Wed Mar 21 14:33:30 CET 2007     mathiasp at mp:/usr/obj/usr/src/sys/MYLAP  i386

-- 
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out



More information about the FreeNX-kNX mailing list