display using unix-domain socket
Antoine Martin
antoine at nagafix.co.uk
Sun Oct 7 11:40:04 PDT 2012
On 10/08/2012 12:59 AM, Alan Coopersmith wrote:
> On 10/ 7/12 10:53 AM, Antoine Martin wrote:
>> Are there any good reasons against it? (after a thorough clean up or
>> even a complete rewrite obviously). I can't think of a good one.
>
> How are you going to handle authentication for this? Purely using the
> user based authentication? Or allowing magic cookies if you force people
> to have a different xauthority file for each connection using this so two
> servers using display :666 on different sockets don't overwrite each others
> cookies?
>
For my personal use case, user based authentication is enough but since
this is in no small part about keeping things more private, it also
makes sense to use a dedicated xauthority file (although out of the box
I think SELinux may get in the way of that somewhat)
It seems to me that if one chooses to use custom socket locations, one
should be prepared to deal with a custom xauth location to go with it?
But I am open to suggestions on how best to proceed for other potential
use cases.
Antoine
More information about the xorg-devel
mailing list