Xwayland location

Bill Spitzak spitzak at gmail.com
Wed Oct 14 22:21:31 PDT 2015


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).

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?


More information about the wayland-devel mailing list