Skip to content
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 qgis on CentOS 7 hangs on Project Save after displaying dbus error #76

Open
toddpfaff opened this issue Nov 3, 2020 · 3 comments

Comments

@toddpfaff
Copy link

I have a flatpak installation of QGIS 3.14 on a CentOS 7 system. I launch QGIS from an xterm with the command line:

flatpak run --share=network --command=bash org.qgis.qgis -c "DISPLAY=$DISPLAY qgis $*"

When a Project Save is attempted the following messages are displayed in the terminal:

Warning: Failed enumerating UDisks2 objects:
"org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"

and then QGIS becomes unresponsive and has to be killed with CTRL-C.

@aleixpol
Copy link
Collaborator

Does it also fail if you run it as recommended with flatpak run org.qgis.qgis?

Your command line makes qgis freeze upon start on my system. Why do you even do that DISPLAY bit? it's no-op at best.

@aleixpol
Copy link
Collaborator

Does this mean the following does the same? flatpak run --env=DISPLAY=$DISPLAY org.qgis.qgis?
It's weird because flatpak generally forwards all environment variables.

Also note --share=network is already enabled by default.

Now to your actual issue:
I fear we'll need to see a bit more where the blocking is. Can you make sure that the system is running xdg-desktop-portals and they're working properly? I'm not sure what the plan is for those on remote systems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants