Hi,

I'm trying to create a second Wayland display on Chromium OS(wayland-1):
#include <wayland-server.h>
int main(int argc, char *argv[]) {
  struct wl_display *display = wl_display_create();
  const char *socket = wl_display_add_socket_auto(display);
  wl_display_run(display);
  return 0;
}

But I can't see second Wayland display.
I'm trying to launch test client
XDG_RUNTIME_DIR=/run/chrome WAYLAND_DISPLAY=wayland-1 testwaylandclient
But I can't see test client window.
If I'm trying to launch client with WAYLAND_DISPLAY=wayland-0 work good, I
see test client window

Maybe I need to run a second display with the Wayland compositor

Serg

Reply via email to