-
-
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
Flatpak sandbox requires D-Bus for IPC (unable to launch v1.3 due to leftover .pid file) #245
Comments
Perhaps this is due to issue #243? The fix for that is in v1.3.2 that I've submitted just now to Flathub. It should be up soon. If it still crashes with v1.3.2 we'll need to try some troubleshooting. |
It just updated to 1.3.2, but Lagrange just doesn't open :( |
Well, let's first see if clearing the stored runtime state (tabs, etc.) helps. Find the file If it still crashes after this, do the same with |
What name should I choose to rename the file? |
It could be |
I renamed |
All right, try launching the app from the command line like this:
What does it print? |
I get this: |
I see. That indicates Lagrange's IPC mechanism has a problem when running inside the Flatpak sandbox. Do you have an instance of Lagrange already running? Check for a hidden |
Thanks it works now ! Do you know why this happened? |
This seems to happen if 1) you already have the app running, or 2) the app crashes/was killed and it didn't clean up after itself. To fix this I'll need to figure out how to check for previously launched app instances under Flatpak, where the sandbox permissions seem to prevent them directly communicating with each other. |
Thanks for your help and explenations. I will not close the issue if it's a bug that needs to be fixed. |
Yes this does need to be addressed... Since Flatpak supports D-Bus, that is probably the way to go here. The drawback is that we'll have to use the low-level C API directly since Lagrange does not rely on higher-level UI frameworks like GTK. |
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds. IssueID #245
It may take a while to add D-Bus support, so adding a way to disable the incompatible IPC mechanism for Flatpak builds. IssueID #245 # Conflicts: # src/ui/window.c
v1.3.3 is available on Flathub with the IPC feature disabled (reverting to v1.2 behavior), so now it should allow launching multiple instances. However, they will overwrite each other's data, so for example newly added bookmarks might get lost. |
Lagrange crashed and now doesn't launch anymore. I am running Lagrange 1.3.1 from Flathub on Fedora 33. Do you know why this happened and how to fix this issue?
Thanks for your help !
The text was updated successfully, but these errors were encountered: