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

Screen sharing in Ubuntu does not work #1108

Closed
AntoninSlejska opened this issue Feb 16, 2024 · 28 comments
Closed

Screen sharing in Ubuntu does not work #1108

AntoninSlejska opened this issue Feb 16, 2024 · 28 comments
Labels
question Further information is requested snap Related to snap package

Comments

@AntoninSlejska
Copy link

Describe the bug
When I try to share my screen, I get the following error message: "Your video isn't working. We couldn't access your camera." But the camera/video is working. (My colleagues can see me.)

To Reproduce

  1. Try to share your screen.
    Screenshot from 2024-02-16 12-38-59
  2. The error message will be displayed.
    Screenshot from 2024-02-16 12-01-41

Desktop

  • OS: Ubuntu 22.04.3 LTS (with Wayland)
  • Installation package: snap (from Ubuntu Software)
  • Version: 1.4.10

Additional context
In the browser (Vivaldi) works the Screen Sharing.

@jijojosephk jijojosephk added the snap Related to snap package label Feb 16, 2024
@jijojosephk
Copy link
Collaborator

@AntoninSlejska it's a problem with snap and the way sandboxing done in it. Can you try flatpak ?

@jijojosephk jijojosephk added the question Further information is requested label Feb 17, 2024
@AntoninSlejska
Copy link
Author

@jijojosephk Thanks. I have installed the deb package. It seems to work.

@stephanecodes
Copy link

Hi, I have exactly the same problem with latest version (1.4.11).
Mine is installed with the deb package, I'm using Ubuntu 22.04 with gnome 42.9, no Wayland.
It's also working in a Web Browser.

@woernsn
Copy link
Contributor

woernsn commented Feb 19, 2024

Hi, I have exactly the same problem with latest version (1.4.11). Mine is installed with the deb package, I'm using Ubuntu 22.04 with gnome 42.9, no Wayland. It's also working in a Web Browser.

Same here.

  • Version: teams-for-linux: 1.4.11 (deb)
  • Distribution: Kubuntu 23.10 x86_64
  • DE: Plasma 5.27.8
  • X11

@holle
Copy link

holle commented Feb 19, 2024

Hi, I have exactly the same problem with latest version (1.4.11). Mine is installed with the deb package, I'm using Ubuntu 22.04 with gnome 42.9, no Wayland. It's also working in a Web Browser.

Same here:

  • Version: teams-for-linux: 1.4.11
  • Distribution: openSUSE Leap 15.4
  • DE: Plasma 5.24.4
  • X11

It did work with the 1.4.7 or 1.4.8 version I was using before without a problem.
I will try to downgrade and see if I can get it to work.

@mkozina-gk-software
Copy link

Same on Manjaro:

  • Version: teams-for-linux: 1.14.11
  • Distribution: Manjaro Linux
  • DE: Plasma desktop 5.27.10 (KDE frameworks 5.113.0-1)
  • X11

It worked last week with teams-for-linux: 1.14.10; Today I have upgraded just teams-for-linux, no big global upgrade.

@torbendury
Copy link

Hi, I'm facing the same problem, teams-for-linux is installed via deb package.

System Info:

  • Linux Mint 21.2
  • Cinnamon 5.8.4

@dagmoller
Copy link

Same here:

Slackware 15.0
KDE Plasma
Version 1.4.10 and 1.4.11 (last working version is 1.4.9) (tar.gz)

@BzSpi
Copy link
Contributor

BzSpi commented Feb 19, 2024

Was in 1.4.11, reverting to version 1.4.10 make it works 🤷

sudo snap revert teams-for-linux --revision 523

@cyber-duracel
Copy link

Confirmed for Debian, since 1.4.11 while 1.4.10 was OK.

@frazzaglia
Copy link

Hi, if I try to install 1.4.10 from apt on linux mint I get this error:

E: Version "1.4.10" "teams-for-linux" not found

The command is:
sudo apt-get install teams-for-linux=1.4.10

Thanks.

@woernsn
Copy link
Contributor

woernsn commented Feb 19, 2024

Hi, if I try to install 1.4.10 from apt on linux mint I get this error:

E: Version "1.4.10" "teams-for-linux" not found

The command is: sudo apt-get install teams-for-linux=1.4.10

Thanks.

That's because only the latest release is provided on the debian repo: https://repo.teamsforlinux.de/debian/pool/main/t/teams-for-linux/
You can download the .deb file from the GitHub release and then install the local .deb file via sudo apt install ~/Downloads/eams-for-linux_1.4.10_amd64.deb for example.
See #1110

@jijojosephk
Copy link
Collaborator

There is nothing in the latest release that could break screen sharing. I'm not sure what's happening

@holle
Copy link

holle commented Feb 19, 2024

Hi, I have exactly the same problem with latest version (1.4.11). Mine is installed with the deb package, I'm using Ubuntu 22.04 with gnome 42.9, no Wayland. It's also working in a Web Browser.

Same here:

* Version: teams-for-linux: 1.4.11

* Distribution: openSUSE Leap 15.4

* DE: Plasma 5.24.4

* X11

It did work with the 1.4.7 or 1.4.8 version I was using before without a problem. I will try to downgrade and see if I can get it to work.

FYI:

  • Clearing the cache and restarting / re-logging in using 1.4.11 did not fix the problem
  • Downgraded to the 1.4.10 RPM on my openSUSE and it worked perfectly afterwards

@jijojosephk
Copy link
Collaborator

@holle when you say you can't share screen, are you getting the same error mentioned in the issue?

@holle
Copy link

holle commented Feb 19, 2024

@holle when you say you can't share screen, are you getting the same error mentioned in the issue?

@jijojosephk yes, correct. I am (was) seeing the same message telling me teams-for-linux could not access the camera albeit I was already having my camera running and happily chatting with a colleague.

@woernsn
Copy link
Contributor

woernsn commented Feb 19, 2024

@jijojosephk, for me it also is the same error as in the original issue description.
I tried the last versions

  • 1.4.9: working
  • 1.4.10: working
  • 1.4.11:
    image

@jijojosephk
Copy link
Collaborator

This could have been causing this issue: #1102 (comment)

I'm on wayland so can't debug the same problem. Once pre-release ready for 1.4.12, kindly test.

SuperTux88 added a commit to SuperTux88/gentoo-overlay that referenced this issue Feb 19, 2024
Version 1.4.11 is broken, lets revert back to 1.4.10.

See: IsmaelMartinez/teams-for-linux#1108

This reverts commit 1a9d43d.
@jijojosephk
Copy link
Collaborator

@holle and @woernsn can you try 1.4.12 ?

@z1atk0
Copy link

z1atk0 commented Feb 20, 2024

Same here, Slackware64 15.0 on X11, tarball release of 1.4.11. When I try sharing a screen, I get "Your video isn't working. We couldn't access your camera.". The funny thing is, the camera actually works just fine on meetings. Plus I don't quite get why it would need the camera for sharing a screen in the first place?

Anyway, will try 1.4.12 today ... 🤷‍♂️

@dschrempf
Copy link

1.4.12 fixed the screen sharing issue for me on NixOS (unstable).

@jijojosephk
Copy link
Collaborator

Sorry for the chaos. I believe 1.4.12 fixes the problem hence closing.

@woernsn
Copy link
Contributor

woernsn commented Feb 20, 2024

@holle and @woernsn can you try 1.4.12 ?

Also on my site, 1.4.12 fixes the issue.
Thanks.

@holle
Copy link

holle commented Feb 20, 2024

@holle and @woernsn can you try 1.4.12 ?

@jijojosephk will try later today. But I guess from the others feedback it will work 😉
Thanks for the quick reply, the quick fix and the effort 👍

@holle
Copy link

holle commented Feb 20, 2024

@holle and @woernsn can you try 1.4.12 ?

@jijojosephk will try later today. But I guess from the others feedback it will work 😉 Thanks for the quick reply, the quick fix and the effort 👍

@jijojosephk I had the chance to call a co-worker: yes, screen sharing alongside video and sound etc. works perfectly.
Thanks again 👍

@z1atk0
Copy link

z1atk0 commented Feb 20, 2024

Yup, 1.4.12 works fine again here as well. Thanks! 👍 😃

@AntoninSlejska
Copy link
Author

I have installed 1.4.12 the deb package. My colleages have then complained, they hear me twice, when I start to share my desktop.
I have installed 1.4.12 the snap package. The screen sharing did not work then anymore.
I have installed 1.4.12 with the following commands:

sudo mkdir -p /etc/apt/keyrings
sudo wget -qO /etc/apt/keyrings/teams-for-linux.asc https://repo.teamsforlinux.de/teams-for-linux.asc
echo "deb [signed-by=/etc/apt/keyrings/teams-for-linux.asc arch=$(dpkg --print-architecture)] https://repo.teamsforlinux.de/debian/ stable main" | sudo tee /etc/apt/sources.list.d/teams-for-linux-packages.list
sudo apt update
sudo apt install teams-for-linux

The screen sharing works perfect now. I will write an update, if there are any other problems.

@jijojosephk
Copy link
Collaborator

Thanks @AntoninSlejska ! snap package has been a pain since a few months.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested snap Related to snap package
Projects
None yet
Development

No branches or pull requests