Wayland/weston question (launching weston app from tty)
degitx at gmail.com
Thu Jan 23 09:59:25 UTC 2020
Hi, could you please help me with wayland/weston question?
*Is it possible to start wayland client graphical app inside weston session
from outside the weston somehow (tty, serial console, or boot)?*
Here the code
display.display = wl_display_connect(NULL);
EGLint major, minor;
display.egl.dpy = eglGetDisplay(display.display);
ret = eglInitialize(display.egl.dpy, &major, &minor);
assert(ret == EGL_TRUE);
If I tried to start from weston terminal or wayland session, I'm gettings
proper result and eglInitialize() successful. But when I start it from tty
or Xorg (weston on other tty), I'm getting eglInitialize assert fault.
Pass EGL_DEFAULT_DISPLAY to eglGetDisplay make it proper initing but it not
workable with app.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the wayland-devel