Teams-for-linux cannot share screen

Hi,

I have recently upgraded to Ubuntu 24.04 LTS, and installed the latest stable version (1.11.0) of Teams-for-linux from the App center. However, in a call, I cannot share my screen: it turns my camera off, and nothing happens next.

I checked the permissions, turned them all to “Yes” (even though most of them were already allowed), but it didn’t solve the problem.

Downloading the .deb file from GitHub releases and installing it solved the issue.

I have reported this bug on GitHub (see can't share my screen in a meeting · Issue #1327 · IsmaelMartinez/teams-for-linux · GitHub), but they say it’s more likely to be a permission issue and I should report this bug here too. I hope this is the right place to do so.

Just tried on KDE Neon (24.04) via Plasma Wayland

$ snap run teams-for-linux
No config file found (user or system-wide), using default values
all good with contextIsolation you aren't using them
all good with sandbox you aren't using them
Initialising logger with config: {"transports":{"console":{"level":"info"},"file":{"level":false}}}
10:50:07.760 › configPath: /home/jgamao/.snap/data/teams-for-linux/939/.config/teams-for-linux
10:50:07.763 › Running under Wayland, disabling GPU composition (default behavior)...
10:50:07.763 › Enabling PipeWire for screen sharing...
10:50:07.763 › Disabling GPU support...
dbus-send: /snap/teams-for-linux/939/lib/x86_64-linux-gnu/libdbus-1.so.3: version `LIBDBUS_PRIVATE_1.12.20' not found (required by dbus-send)
10:50:07.793 › (node:85224) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `teams-for-linux --trace-deprecation ...` to show where the warning was created)

(teams-for-linux:85224): Gtk-WARNING **: 10:50:07.800: Theme parsing error: gtk.css:1414:23: 'font-feature-settings' is not a valid property name

(teams-for-linux:85224): Gtk-WARNING **: 10:50:07.803: Theme parsing error: gtk.css:3287:25: 'font-feature-settings' is not a valid property name

(teams-for-linux:85224): Gtk-WARNING **: 10:50:07.804: Theme parsing error: gtk.css:3749:23: 'font-feature-settings' is not a valid property name
[85224:1105/105007.847407:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KWallet.isEnabled: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.216" (uid=10715 pid=85224 comm="/snap/teams-for-linux/939/teams-for-linux --no-san" label="snap.teams-for-linux.teams-for-linux (enforce)") interface="org.kde.KWallet" member="isEnabled" error name="(unset)" requested_reply="0" destination="org.kde.kwalletd6" (uid=10715 pid=77237 comm="/usr/bin/kwalletd6" label="unconfined")
[85224:1105/105007.847436:ERROR:components/os_crypt/sync/kwallet_dbus.cc:113] Error contacting kwalletd6 (isEnabled)
[85224:1105/105007.847873:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KLauncher.start_service_by_desktop_name: object_path= /KLauncher: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.klauncher was not provided by any .service files
[85224:1105/105007.847894:ERROR:components/os_crypt/sync/kwallet_dbus.cc:82] Error contacting klauncher to start kwalletd6
[85224:1105/105007.848015:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.kde.KWallet.close: object_path= /modules/kwalletd6: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.216" (uid=10715 pid=85224 comm="/snap/teams-for-linux/939/teams-for-linux --no-san" label="snap.teams-for-linux.teams-for-linux (enforce)") interface="org.kde.KWallet" member="close" error name="(unset)" requested_reply="0" destination="org.kde.kwalletd6" (uid=10715 pid=77237 comm="/usr/bin/kwalletd6" label="unconfined")
[85224:1105/105007.848026:ERROR:components/os_crypt/sync/kwallet_dbus.cc:408] Error contacting kwalletd6 (close)
MESA-LOADER: failed to open radeonsi (search paths /snap/teams-for-linux/939/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: radeonsi
MESA-LOADER: failed to open kms_swrast (search paths /snap/teams-for-linux/939/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast (search paths /snap/teams-for-linux/939/gnome-platform/usr/lib/x86_64-linux-gnu/dri)
failed to load swrast driver
10:50:07.885 › 🔒 IPC Security: Channel allowlisting enabled
10:50:07.885 › 🔒 IPC Security: 32 channels allowlisted
[85224:1105/105007.914586:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.login1.Manager.Inhibit: object_path= /org/freedesktop/login1: org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.618" (uid=10715 pid=85224 comm="/snap/teams-for-linux/939/teams-for-linux --no-san" label="snap.teams-for-linux.teams-for-linux (enforce)") interface="org.freedesktop.login1.Manager" member="Inhibit" error name="(unset)" requested_reply="0" destination="org.freedesktop.login1" (uid=0 pid=11149 comm="/usr/lib/systemd/systemd-logind" label="unconfined")

(teams-for-linux:85224): Gtk-WARNING **: 10:50:08.063: Theme parsing error: gtk-dark.css:1414:23: 'font-feature-settings' is not a valid property name

(teams-for-linux:85224): Gtk-WARNING **: 10:50:08.067: Theme parsing error: gtk-dark.css:3287:25: 'font-feature-settings' is not a valid property name

(teams-for-linux:85224): Gtk-WARNING **: 10:50:08.067: Theme parsing error: gtk-dark.css:3749:23: 'font-feature-settings' is not a valid property name
[85520:1105/105016.591366:ERROR:services/video_capture/video_capture_service_impl.cc:190] Bind context provider failed.
[85725:1105/105052.476899:ERROR:services/video_capture/video_capture_service_impl.cc:190] Bind context provider failed.

X11 works fine; tested on

  • Plasma 5.27 on Kubuntu 24.04
  • Cinnamon on Ubuntu 22.04

Edit: got it to work…kinda still crashed, but I changed the plug

$ snap connections teams-for-linux 
Interface                 Plug                                     Slot                            Notes
content[gnome-3-28-1804]  teams-for-linux:gnome-3-28-1804          gnome-42-2204:gnome-42-2204     manual