Hi,

On 25-03-15 14:20, Ray Strode wrote:
Hi,

You're right I had forgotten that the xauth file needs to contain the
displaynr, so there is no easy fix here I'm afraid.
That's not true actually. The xauth file can have a display wildcard, but
the xauth command doesn't support generating xauth files with display
wildcards.

I think that if we want to fix this we should add a -autodisplayconfig
config to xinit which takes care of handling both -displayfd and of
generating and passing in an xauth file.
Yea, exactly!  I would go a step further and just always do what the
-autodisplayconfig line does, implicitly. Of course, if the caller passes
in a -auth line and $DISPLAY, use the ones passed in, but always do
-displayfd no matter what, since -displayfd works fine with a passed
in $DISPLAY and is still useful for getting ready notification without
having to use unix signal handlers.

Ok, either way (explicit cmdline option or implied by lack of something
specified on the cmdline) sounds good to me. Now all we need is for someone
to code this :)

Note that I've no intent to work at this myself since the startx fixes to
select a really free displaynr work well enough for now, and I've my plate
full with other stuff.

Regards,

Hans
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to