Skip to content

Master branch won't run on GNU/Linux without disabling sandboxing #1818

@aesedepece

Description

@aesedepece

Describe the bug
Running from a locally built AppImage or through yarn electron:serve, Electron spins up, stays blank for a little while, and crashes silently.

When running from an AppImage, at least I get this error:

[937553:1025/101147.760650:FATAL:gpu_data_manager_impl_private.cc(445)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

Running the AppImage with the --no-sandbox flag works though, which makes me think that this issue is related to this other log line I got:

(node:937224) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron.  See https://github.com/electron/electron/issues/23506 for more information

For electron yarn:serve, the --no-sandbox flag does nothing:

error: unknown option '--no-sandbox'

I also tried with #1816 just in case it was somehow related, but that will only make Electron show 2 blank windows momentarily instead of just 1.

To Reproduce
Steps to reproduce the behavior:

  1. Run a local build of Sheikah on GNU/Linux
  2. See issue happen

Expected behavior
The app should run normally.

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux studio 5.19.0-2-MANJARO #1 SMP PREEMPT_DYNAMIC Tue Aug 2 18:25:43 UTC 2022 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    UXAffects usability, accessibility or user experiencebug 🐜Something isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions