[FreeNX-kNX] Porting to FreeBSD, trans_socket log, partial success
Mathias Picker
Mathias.Picker at gmx.de
Thu Jun 21 09:35:04 UTC 2007
Fabian,
thanks for the info, I will look into it.
Can you tell me what actually happens in that poll? nx tries to contact
some x server with a local protocol, why? And only when this fails it
works as server, or do I misunderstand this?
As to NX 3.0 and your motivation: You're doing great work & desktop
sharing, session shadowing and x68_64 support will be important
additions for us. I really hope you will get this support for 3.0 soon,
and I'm willing (even if my time is very short...) to add my growing
knowledge of the freebsd port & support the freebsd side of it.
cu, Mathias
Am Donnerstag, den 21.06.2007, 05:35 +0200 schrieb Fabian Franz:
> > Can anyone comment on this log by nxagent compiled with NX_TRANS_[INFO|
> > WARN|DEBUG|...] defined (in programs/Xserver/os and lib/X11)
> >
> > What actually happens:
> >
> > nxagent seems to stay indefinitely in a loop, polling ... (what? local x
> > server?). If I press ^C, it stops with this and starts listening on port
> > 5000 for a remote connection. Then I can connect to it with
> > nxproxy -C localhost:1000.
> >
> > So, what does it do in that poll loop, and why? Should it fail there and
> > doesn't for some reason? Any ideas?
>
> I have a small idea.
>
> We changed in the absolute initial FreeBSD patch made by Laura from KDE, pselect a bit, because FreeBSD had no sigmask parameter. (compare man pselect on Linux and FreeBSD)
>
> It might be that this change is the one biting us now, because if I see / remember this correctly its exactly this pselect that is in that infinite polling loop.
>
> It might be that you need to call sigprocmask or another call before, but it all seemed to be some "magic" in the past. Anyway, this is the only thing I can think of right now ...
>
> cu
>
> Fabian
> ________________________________________________________________
> 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