New paths for Wayland sockets (Re: Enabling Android-style per application user ids)

Daniel Stone daniel at fooishbar.org
Tue Nov 7 19:42:42 UTC 2017


Hi,

On 3 November 2017 at 07:33, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> People, give your acks/nacks for the two ideas, please:
>
> - modify WAYLAND_DISPLAY to support absolute paths which overrides
>   any search paths

ACK. It's a simple and straightforward extension to current behaviour.

> - when the current socket search fails, add one more place to look
>   in: /run/wayland/$WAYLAND_DISPLAY with the default "wayland-0" if
>   WAYLAND_DISPLAY is not set.

NAK. It's a surprising change in behaviour which could catch people
who could reasonably expect other behaviour. It doesn't play well with
each session expecting to be able to create a socket called
'wayland-0', which is separated by $XDG_RUNTIME_DIR being different
per session.

Cheers,
Daniel


More information about the wayland-devel mailing list