Closed ghost closed 1 year ago
The environment variable WAYLAND_DISPLAY
is to tell clients to which compositor to connect to. The compositor proxy from your logs outputs: "Listening on: WAYLAND_DISPLAY=\"wayland-1\"
, so you probably already have a wayland compositor running (probably the default Ubuntu gnome wayland session).
So for clients to find the compositor proxy, you need to do eg. export WAYLAND_DISPLAY=wayland-1
in a terminal first, and then start a client from that same terminal.
@nigelredding Did you manage to fix the issue?
I am on Ubuntu 22.04.1 LTS, and I am running wayland. I have WAYLAND_DISPLAY=wayland-0 set in my environment (it was preset, I didn't have to add it). I've been able to build the compositor module and compositor proxy using the instructions, but when run both and navigate to localhost:8080 and click either of the buttons, nothing happens. Just a blank white screen with the two buttons.
I also see this in the logs, which looks relevant.. but setting WAYLAND_DISPLAY to anything other than wayland-0 does not seem to fix it (I tried
WAYLAND_DISPLAY=wayland-1 yarn start
but that didn't help).output of compositor proxy
output of compositor module