silexlabs / Silex

Silex is an online tool for visually creating static sites with dynamic data. With the free/libre spirit of internet, together.
https://www.silex.me
GNU Affero General Public License v3.0
2.34k stars 585 forks source link

Blank screen on launch using appimage on Fedora 35 #1154

Closed primal-buddhist closed 2 years ago

primal-buddhist commented 2 years ago

Hi

  1. Downloaded the appimage
  2. Set to executable
  3. Launch
  4. An application screen launches eventually but is just whitespace in an application window.
  5. Logs show a coredump (Process 240165 (silex-desktop) of user 1000 dumped core.
  6. I can close the window

Using Fedora 35.

lexoyo commented 2 years ago

Thank you @primal-buddhist for the report

I am installing fedora 35 now in order to investigate this issue

lexoyo commented 2 years ago

@primal-buddhist I finally found out that this is not a silex problem but all electon apps in fedora 35, as you can read here

They say a solution is to add --disable-seccomp-filter-sandbox to the command starting the app, so for example with Silex you can do $ ./silex-desktop-2.7.24.AppImage --disable-seccomp-filter-sandbox

I just tested and it works

lexoyo commented 2 years ago

And I found out that by upgrading electron version, this issue is fixed

Please just download the latest version of Silex desktop, it will work then

Thank you for the bug report, good catch !

primal-buddhist commented 2 years ago

Fantastic

lexoyo commented 2 years ago

I had to revert the fix as it requires a lot of upgrades in all Silex dependencies

I will try to do this soon though

lexoyo commented 2 years ago

@primal-buddhist I finally found out that this is not a silex problem but all electon apps in fedora 35, as you can read here

They say a solution is to add --disable-seccomp-filter-sandbox to the command starting the app, so for example with Silex you can do $ ./silex-desktop-2.7.24.AppImage --disable-seccomp-filter-sandbox

I just tested and it works

Use this workaround then ?