electron-kiosk-wayland
worked.
But I get this error when I run desktop capture.
[206304:1021/114811.410337:ERROR:shared_x_display.cc(38)] Unable to open display
electron-kiosk-wayland
worked.
But I get this error when I run desktop capture.
[206304:1021/114811.410337:ERROR:shared_x_display.cc(38)] Unable to open display
you could try the screencast-legacy
plug … but the function name above sounds like it might require Xorg …
No luck.
I added these plugs. Same error [325874:1021/131756.492177:ERROR:shared_x_display.cc(38)] Unable to open display
- desktop
- screencast-legacy
- x11
- system-observe
- mir
- unity7
yeah, there is no Xorg to be seen anywhere in the wayland kiosk implementation … (i assume you made sure the screencast-legacy plug is actually connected ? it does not auto-connect)
Hi,
How do I connect the screencast-legacy
plug?
~$ snap connections electron-kiosk-uc20
Interface Plug Slot Notes
audio-playback electron-kiosk-uc20:audio-playback - -
browser-support electron-kiosk-uc20:browser-support :browser-support -
content[gnome-3-38-2004] electron-kiosk-uc20:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 -
content[gtk-3-themes] electron-kiosk-uc20:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] electron-kiosk-uc20:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] electron-kiosk-uc20:sound-themes gtk-common-themes:sound-themes -
desktop electron-kiosk-uc20:desktop - -
desktop-legacy electron-kiosk-uc20:desktop-legacy - -
gsettings electron-kiosk-uc20:gsettings - -
hardware-observe electron-kiosk-uc20:hardware-observe - -
network electron-kiosk-uc20:network :network -
network-bind electron-kiosk-uc20:network-bind :network-bind -
network-observe electron-kiosk-uc20:network-observe - -
opengl electron-kiosk-uc20:opengl :opengl -
process-control electron-kiosk-uc20:process-control - -
screencast-legacy electron-kiosk-uc20:screencast-legacy - -
wayland electron-kiosk-uc20:wayland ubuntu-frame:wayland -
x11 electron-kiosk-uc20:x11 - -
~$ sudo snap connect electron-kiosk-uc20:screencast-legacy :screencast-legacy
error: snap "snapd" has no slot named "screencast-legacy"
I get a different error now
: /proc/self/exe: /snap/electron-kiosk-uc20/x4/gnome-platform/usr/lib/x86_64-linux-gnu/libffi.so.7: no version information available (required by /snap/electron-kiosk-uc20/x4/usr/lib/x86_64-linux-gnu/libwayland-server.so.0)
: /proc/self/exe: /snap/electron-kiosk-uc20/x4/gnome-platform/usr/lib/x86_64-linux-gnu/libffi.so.7: no version information available (required by /snap/electron-kiosk-uc20/x4/usr/lib/x86_64-linux-gnu/libwayland-client.so.0)
: /proc/self/exe: /snap/electron-kiosk-uc20/x4/gnome-platform/usr/lib/x86_64-linux-gnu/libffi.so.7: no version information available (required by /snap/electron-kiosk-uc20/x4/usr/lib/x86_64-linux-gnu/libwayland-server.so.0)
the desktop screenshot is black.
ls: cannot access '/snap/electron-kiosk-uc20/x6/gnome-platform/usr/lib/x86_64-linux-gnu/libffi.so.7': No such file or directory
Wrong path?
I did a search for libffi
. It does not exist. How do I install it?