teams-for-linux
teams-for-linux copied to clipboard
Flatpak package crashes on startup
Hello, I had initially posted this under #1001, but in hindsight I'll report a dedicated issue, since mine is specific to flatpak.
My flatpak teams for linux (1.3.19) crashes on me a couple of seconds into startup. I'm using opensuse tumbleweed (kernel 6.6.2) Problem does not affect the appimage packages (tried both 1.3.19 and 1.3.21 and could not reproduce).
This is what I get if I run the command mentioned in the flatpak .desktop file in a shell:
andrea@andromeda:~> /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=teams-for-linux --file-forwarding com.github.IsmaelMartinez.teams_for_linux @@u %U @@
[2:1130/102537.353402:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
[2:1130/102537.552996:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/102537.553048:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/102537.583896:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/102537.583921:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/102537.583939:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[ERROR] net::ERR_CONNECTION_REFUSED
[47:1130/102542.973866:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
Are there any things I could try? I'd prefer the flatpak over the appimage since it auto-updates.
Thanks
I just went as far back as version 1.0.90 and it still crashes:
andrea@andromeda:~> /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=teams-for-linux --file-forwarding com.github.IsmaelMartinez.teams_for_linux @@u %U @@
LaunchProcess: failed to execvp:
xdg-settings
[2:1130/105538.542523:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/105538.542570:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[WARN] Unsupported language code 'en-DK' for spellchecker
[2:1130/105538.580406:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/105538.580452:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[2:1130/105538.580485:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[ERROR] connect ECONNREFUSED 127.0.0.1:80
[2:1130/105538.584745:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:1130/105538.584990:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:1130/105538.585019:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:1130/105538.585115:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[2:1130/105538.585497:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
I recently changed my laptop (Intel -> AMD), and on the old Intel one I have used this flatpak for months, keeping it regularly updated. I have never experienced anything like this. I wonder, may this be related to this change? Maybe something related to the AMD GPU vs Electron?
Hi @andreaippo , that really looks like a flatpak configuration problem. Have you tried other packages? Do other packaging system work for you ? *(deb/rpm, etc). I know it is not as auto as flatpak but maybe snap?
I stumbled upon the same issue on Fedora 39 after one of the updates. What worked for me (at least for now) was following:
- Install Flatseal: https://flathub.org/apps/com.github.tchx84.Flatseal
- Add permission for running in the background Then app seems to run fine despite dbus and GetVSync error (at least in my case). For other app (Steam) with same GetVSync error I had to also enable GPU acceleration (I have nvidia GPU)
I stumbled upon the same issue on Fedora 39 after one of the updates. What worked for me (at least for now) was following:
* Install Flatseal: https://flathub.org/apps/com.github.tchx84.Flatseal * Add permission for running in the background Then app seems to run fine despite dbus and GetVSync error (at least in my case). For other app (Steam) with same GetVSync error I had to also enable GPU acceleration (I have nvidia GPU)
Thanks, I'm gonna try!
I also noticed this on Kinoite while trying it out a few days back, which proves that its not specific to Tumbleweed.
EDIT: Hi, I was finally able to test the workaround by @piotre10 , and it worked!
So it seems like the flatpak package should request the background execution permission somehow.
Thanks, this allowed me to uninstall the RPM package and go back to flatpak, which I much prefer because I get to stay updated :)
@IsmaelMartinez is this something you can look into, please? :)
I am not sure if we are maintaining flatpack packages or is like aur (maintained by another community). @jijojosephk, do you know? I didn't maintain them in the past as it was yet another additional complexity that drained lots of time/effort.
@IsmaelMartinez I'm maintaining the package. @andreaippo can you suggest what needs to be added to the configuration?
@jijojosephk I dunno about flatpak packaging, but according to another user it's enough to grant the permission to run in the background. But I have no idea how you do that when packaging as flatpak :(
I stumbled upon the same issue on Fedora 39 after one of the updates. What worked for me (at least for now) was following:
* Install Flatseal: https://flathub.org/apps/com.github.tchx84.Flatseal * Add permission for running in the background Then app seems to run fine despite dbus and GetVSync error (at least in my case). For other app (Steam) with same GetVSync error I had to also enable GPU acceleration (I have nvidia GPU)
Closing due to inactivity.