teams-for-linux
teams-for-linux copied to clipboard
[Bug]: Can't share screen in recent versions
Can you reproduce this bug in the website/PWA?
No
Describe the bug
Screen sharing fails with an message about pipewire
What package are you using?
deb
Version
2.0.14
Reproduction steps
Try to share screen, fails and notifications show an error about pipewire. I also note this journal log entry:
... kde_session_restore.sh [1566:0527/161113.996850:ERROR:base_capturer_pipewire.cc(81)] ScreenCastPortal failed: 3
It has previously work and this problem seems to be with me for the last couple of weeks on debian 12
Expected Behavior
Screen sharing should just work (as it used to)
Debug
teams-for-linux --webDebug --logConfig='{}'
Additional context
No response
Hello Sasawaws,
Thank you for reporting this issue. These kinds of problems often arise due to changes in system libraries.
Could you please refer to older tickets to see if any of the previously suggested solutions are helpful in this case?
Thanks, Ismael
On Tue, 27 May 2025, 17:45 Sasawaws, @.***> wrote:
Assigned #1715 https://github.com/IsmaelMartinez/teams-for-linux/issues/1715 to @IsmaelMartinez https://github.com/IsmaelMartinez.
— Reply to this email directly, view it on GitHub https://github.com/IsmaelMartinez/teams-for-linux/issues/1715#event-17834414226, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADJHEGC3AUQTAHCP36WGB33ASJBRAVCNFSM6AAAAAB6AR4WAWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJXHAZTINBRGQZDENQ . You are receiving this because you were assigned.Message ID: @.*** com>
Sharing is broken in the Teams progressive web app as well for recent versions of Brave.
Ubuntu 24.04/KDE-Neon. Version 1.78.102 Chromium: 136.0.7103.113 (Official Build) (64-bit)
I am using Teams for web in Chrome generally. Came here in search of a solution. Probably you have the same issue that I have. I suppose it is all connected with Wayland (tested on Kubuntu 24.10 and 25.04). In web browser Teams would say it can not access the camera when you actually tried to share the screen. In Firefox it works, but leads to enormous memory leaks in kwin_wayland and makes the machine very slow very fast (by hitting swap, when all RAM is gone). Tried to file a ticket in MS support forum - they answered with their usual staff on contacting their support through local MS admin to have a remote session look up the logs. I also saw the same issue with Edge for linux where the solution, again, was to use another browser. I tried to clear the cache and permissions and cookies - nothing helps. Meanwhile Google Meet works fine sharing the screen without any issues.
If it doesn't work in the PWA then this is a MS issue, and we can't do much from our side. Sorry about that, hopefully they get it sorted soon. Closing as we can't do much if this is also broken in the PWA
I think several issues are being mixed up here, I think the one I reported is teams vs Wayland via pipewire not working. I think the pwa issue is separate. I suspect my issue maybe linked to pipewire not restarting or not being connected to after suspend/resume
On Thu, 29 May 2025, 13:24 IsmaelMartinez, @.***> wrote:
Closed #1715 https://github.com/IsmaelMartinez/teams-for-linux/issues/1715 as completed.
— Reply to this email directly, view it on GitHub https://github.com/IsmaelMartinez/teams-for-linux/issues/1715#event-17867543508, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJDDSR5RO2ELUIAYKPVGBL3A337PAVCNFSM6AAAAAB6AR4WAWVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJXHA3DONJUGM2TAOA . You are receiving this because you authored the thread.Message ID: @.*** com>
Hi @Sasawaws , can you check the close issues aroud pipewire and wayland? People tend to pass some flags and that sorts the problem for some. Hopefully it does solves it for you. And yes, it does look like different issues reported under the same issue, what it did confuse me.
It does look similar to this one: https://github.com/IsmaelMartinez/teams-for-linux/issues/1611 Check the comments there and see if they help you. Hopefully they do.
I have the same issue here, im using Hyrpland and Arch Linux. The screen just don`t share, without errors or anything.
ubuntu 25 snap package, Facing the same issue, hopefully waiting for a quick fix.
Did you guys check the other issue and the suggestions on it? Also, if it doesn't work in a chrome browser on your computer, then it is not an app problem, but either a Microsoft issue, OS config issue, package issue or an admin configuration issue
Hope helps
This might be fix in https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.1.1 (pre-release). Can you check? Thanks
Can you check with version https://github.com/IsmaelMartinez/teams-for-linux/releases/tag/v2.1.2 ?? Thanks! (2.1.1 had a small issue with deb)
closing as there has been no activity for over a month. If you still got the issue please come back and I can re-open the issue. Thanks!
On Saturday, 9 August 2025 17:24:03 BST IsmaelMartinez wrote:
IsmaelMartinez left a comment (IsmaelMartinez/teams-for-linux#1715)
closing as there has been no activity for over a month. If you still got the issue please come back and I can re-open the issue. Thanks!
Iamael,
Apologies for the slow reply - I've not been able to test this until just now. I have partial success:
In a "meeting" screen sharing does not work and the screen share box that should show the available shares along the bottom contains nothing (actually there is some code there, possibly html, but I couldn't capture it). Furthermore the defunct screenshare box remains after the call and blocks the rest of the functionality in teams because it obscures the bottom of the screen (including where you might normally enter messages). A refresh doesn't fix this so a restart is needed.
I'm told by colleagues using vanilla windows teams sharing in meetings is sometimes a problem for them (and that sharing in a call works) so this might not be a teams-for-linux problem at all.
In a "call" this screen sharing works fine as far as I can see.
Apologies this isn't a very complete diagnosis, I don't get very many screen sharing opportunities but I've observed this behaviour twice now.
Cheers,
SA
Hi @Sasawaws ,
Thanks for the info. I am trying to re-implement the screensharing part as it was done a long time ago. Hopefully that re-implementation improves all of this but only time will tell.
It could well be a pipewire issue or wayland. They don't really like electron screensharing and fail for a few users.