-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sandboxed releases prevent startup on some linux distributions #20
Comments
Do other electron apps made with electron-builder work as expected on your system? I think that https://github.com/meetfranz/franz uses electron-builder as well, maybe you could try their latest appimage and deb to test if that's the problem. Aside from that, it could be a Vieb 0.2.1 issue, there is a new release you could try out. |
Alternatively you could try to run it using There are two other linux releases of Vieb you could try, the tar.gz is the portable generic linux executable or you could try the snap package. |
Same problems with 0.2.2, both .deb and AppImage. |
The tar.gz portable generic linux executable fails, too. Nothing happens at all. |
Something is wrong, agreed. I'll try to install it in a debian VM to see if that works as excepted. It might be a dependency issue. |
This seems to be a known issue with electron 5, as they have enabled sandboxing by default. See:
For now you could try starting the portable application like this: I'll try to find a way to fix this for Vieb, but I think this should ideally be fixed by electron or electron-builder. |
After using the workaround mentioned on the arch wiki, both the appimage and portable executable worked as expected, and I successfully installed the .deb using these commands afterwards:
Though there might be a more efficient way to install .debs I'm not familiar with. |
The initial comment provides a workaround to disable the sandbox for linux builds. |
I don't believe I'm allowed to integrate or modify your code due to the license of MQTT-Explorer, maybe I will try to come up with my own implementation in the future (or an implementation somebody else contributes to Vieb). Aside from that, it's still a workaround (although definitely a better one) and not a proper solution I think. So for now I will wait a bit if the electron-builder contributors decide to fix this. See these links for CC-BY-ND incompatibility explanations: |
@Jelmerro it was simply meant as a reference. |
I have considered many options over the past month, but they mostly come down to these two:
For Vieb I have chosen the second option. From now on, builds on the releases page will include a small note for linux users, that unprivileged containers are required. This way no compromises have to be made for unaffected systems. I have tested the example from the arch wiki inside a VM with success, which is why I consider this specific issue closed. If you are still having problems starting Vieb after making sure that these type of containers are enabled on your system, please feel free to make a new issue for it. |
…eraction add command line interaction
I tried the AppImage first. It won't run. Nothing happens. No output on the command line. Nothing. Yes, I made it executable. I have run AppImage packages before.
Then I tried the .deb installer. It installs partially:
Then I found it in /opt. I ran it from the command line and nothing happened again. Not even some output. At all.
The text was updated successfully, but these errors were encountered: