sisco311 / scrcpy-snap

Snap packaging for scrcpy: https://github.com/Genymobile/scrcpy
Apache License 2.0
53 stars 12 forks source link

Cannot run on Fedora 29: "execl failed: No such file or directory" #6

Closed logix2 closed 5 years ago

logix2 commented 5 years ago

I installed the scrcpy snap on Fedora 29, and when trying to run it I get this error:

$ scrcpy

execl failed: No such file or directory
child exited with status 1

The same happens when trying to run scrcpy.adb.

sisco311 commented 5 years ago

Your issue sounds similar to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1756793 So, first try to reboot. If that doesn't solve the problem, then try to install the core package from the beta channel: snap refresh core --beta If you still run in issues, please post the output of: snap --version and snap interfaces scrcpy

logix2 commented 5 years ago

I found that bug report, and already tried to reboot and to install the beta core snap with "snap refresh core --beta", but it still doesn't work.

The output of those two commands (I reverted the core snap to stable now):

[logix@logix22 ~]$ snap interfaces scrcpy
Slot             Plug
:adb-support     scrcpy
:desktop         scrcpy
:desktop-legacy  scrcpy
:network         scrcpy
:opengl          scrcpy
:pulseaudio      scrcpy
:unity7          scrcpy
:wayland         scrcpy
:x11             scrcpy
[logix@logix22 ~]$ snap version
snap    2.37.4-2.fc29
snapd   2.37.4-2.fc29
series  16
fedora  29
kernel  4.19.13-300.fc29.x86_64

Could this be related to Fedora not using apparmor? And if so maybe you're aware of some workaround.

sisco311 commented 5 years ago

Please check out: https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/1808959

Did you try any other core18 based snap on your systems? Do they work?