[FreeNX-kNX] nxagent - unable to open display :-(

Fabian Franz FabianFranz at gmx.de
Thu Jun 28 16:54:30 UTC 2007


> > Replace all occurrences of "DISPLAY=unix:$display" in nxnode with
> "DISPLAY=:$display".
> 
> Indeed. This fixes the problem! Do you think this is valid fix?

:-) Yes and No.

The unix: notation is there to _force_ the xclients to connect to the unix domain socket. With :0.0 they _should_ also try first the unix domain socket and then the localhost:6000 one ...

But as the most time critical applications are run via :0.0 by default I can't really imagine that being a problem.

> > Which might explain why it is the case with only libxcb (like reported
> in the bug report) ...
> > 
> > I guess that libxcb does no longer accept the unix: notation and
> > thinks it is a hostname and tries to connect to it, instead of
> > seeing that this notation means that it should always use the
> > /tmp/.X11-unix/X<num> file.
> 
> Ouch!

I am not sure if that unix: notation is really in the standard as a MUST, so I don't know if its a bug or rather a missing feature that libxcb does not support it.

On the other hand people trying to run the free-forever-commercial-server might run into the same problems as we do now ... Not that it is our problem, but its always good preventing bug reports in advance ... ;-)

Anyway, I am glad that it works now again. 

cu

Fabian



More information about the FreeNX-kNX mailing list