0

I'm trying to run an application that uses Electron on my Embedded System.

The problem is that Electron has dependecies with it but i can only use wayland or frame buffer instead of X11.

Can anyone help me?

Andrea

Zichittella
  • 31
  • 1
  • 8
  • Sadly, as also written [in this issue on GitHub](https://github.com/electron/electron/issues/9056), Electron currently depends on X11 and cannot run on Wayland. It might in the future, once Chrome gets Wayland support. (But as Electron doesn't use the newest Chrome version available, that will take a *while*...) – Alexander Leithner Aug 30 '18 at 08:33
  • It's impossible also using framebuffer? It's strictly necessary X11 – Zichittella Aug 30 '18 at 08:42
  • As far as I know, and as far as that GitHub issue goes: yes, X11 is currently the only posibility. – Alexander Leithner Aug 30 '18 at 08:46
  • Thank you for the info I saw that someone in 2017 was trying to use wayland but they hadn't pot anything new and I hoped someone found a solution but I think they didn't – Zichittella Aug 30 '18 at 08:52
  • Is it possible for you to run a virtual X11 server, `xvfb`, as the display, then copy it with `xvnc`, then view that in a browser in wayland using `novnc`? Or of course, you can have an X server on a remote machine and use X11 over the network. – meuh Aug 31 '18 at 16:54

1 Answers1

0

This doesn't really answer your question, but maybe you can use Xwayland? It will set up a X11 server that acts as a Wayland client, which your electron app can connect to.

bobbaluba
  • 3,584
  • 2
  • 31
  • 45