I had suggested something similar 13 years ago:
https://lists.x.org/archives/xorg-devel/2012-October/033883.html
Basically allowing users to put the X11 socket wherever they like.
This is even more relevant nowadays with containers, bind mounts, etc
point of discussion being -> let's sort out how much this breaks and see if we
can maybe come up with solutions before breaking anything - if we're down
to the utterly obscure "there are 3 of these in existence with 2 users
left" or something... then maybe we can discount them. :)
Indeed, this is very likely an issue that would need to be resolved.
That is why I'm thinking of symlinking it at the start and then
deprecating it eventually. We shouldn't move extremely quickly about it
but slow enough to where everyone has enough time to migrate.
Sounds reasonable.
The first step would be to just allow the socket location to be moved,
if desired.
I did have some PoC patches that I will try to dig up.
Contrary to what was argued in the original thread, the fact that the
new location may not be found if the symlink is not created IS the feature.
That's the flexibility it brings.
And those that are happy with sharing /tmp/.X11-unix can continue to use
it for as long as they like, blissfully unaware that other options may
exist.
Cheers,
Antoine