Xwayland location

Pekka Paalanen ppaalanen at gmail.com
Thu Oct 15 00:24:58 PDT 2015


On Wed, 14 Oct 2015 22:21:31 -0700
Bill Spitzak <spitzak at gmail.com> wrote:

> It seems like /usr/bin/Xwayland is hard-coded into xwayland.so. This 
> makes it not run local installed versions of Xwayland. I could not get X 
> programs to work under wayland without doing "sudo ln -s 
> ~/install/bin/Xwayland /usr/bin".
> 
> I noticed this because I had no /usr/bin/Xwayland, but I am concerned 
> that if it really is installed, a developer will not realize they are 
> not running their locally installed copy.
> 
> There is a configure option --with-xserver-path but it would help if 
> --prefix worked as a default (ie $prefix/bin/Xwayland).

That would be a wrong default for me now, while it would have been the
right default earlier this year. Either way, someone loses. That's why
there is --with-xserver-path.

> Another possible solution is to use an environment variable ($XWAYLAND 
> maybe?) as the name of the program.
> 
> Maybe a better question is why the path is hard-coded, rather than it 
> searching the path for this?

There is also a weston.ini option for the Xwayland path, see 'man
weston.ini'.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20151015/45bef336/attachment-0001.sig>


More information about the wayland-devel mailing list