I'm trying to run a simple X app under Weston using XWayland, but I get an error. I launch Weston as follows:
$ weston-launch --modules=xwayland.so
With the command-line argument as suggested here (cf. "weston.ini"). (I've also tried creating the weston.ini as instructed, and I got the same effect.) When I open the Wayland Terminal and run $ echo $DISPLAY, it returns with :0. But when I run a simple app like /usr/bin/galculator, I get the error cannot open display: :0. Any suggestions on how I might get galculator to launch? (That is, on how I might get an X client to connect with XWayland?)
It appears that Weston is trying to make an X server available since there is a display variable, just like was stated at the XWayland page. When I do the same experiment but I do weston-launch without the modules command-line argument, echo $DISPLAY returns nothing.
Note: I am using the 2013-09-25-wheezy-raspbian.zip available here. I haven't done any installation of Weston or Wayland since they appear to be already installed on this image. Indeed, /usr/lib/weston has the xwayland.so module, along with other Weston-related code, and Weston otherwise launches just fine.