Unable to screen share in ubuntu 22.04 | Community
Skip to main content
Newcomer
April 24, 2022
Question

Unable to screen share in ubuntu 22.04

  • April 24, 2022
  • 33 replies
  • 2 views

I installed zoom on my freshly installed ubuntu 22.04 LTS and I faced a issue where i was only able to share whiteboard instead of my screen and there is no option other than that. How can i enable screen share? Is there any problem because ubuntu adopted wayland instead of xorg?

    33 replies

    Newcomer
    July 25, 2022

    Still does not work with version 5.11.3 (3882) on Ubuntu 22.04 with multiple screens on Wayland. Shared  screen is always black. It works if I use only the notebook screen and no additional screens. I also tried to share only windows - no success. But might be related to the Gnome version - 42.2.

    YaBoiB
    Community Champion | Employee
    Community Champion | Employee
    July 25, 2022

    Hello @rico_gini

     

     Engineering is asking if the issue is on XORG/x11 of GNOME 42 Fedora? They are asking for client logs to review. Can you please submit a support ticket to our team so that we can pull client logs from either your machine or any other user that is running into this issue.

     

    Thanks, 

    Brandon 

    Internal note ZOOM-316546

    Newcomer
    October 12, 2022

    I use Ubuntu 22.04 with Wayland, Gnome 42 and multiple screens. Latest version 5.12.2 (4816) still does not work. I tested it also with single screen. I posted my logs under the issue ZOOM-316546.

    Newcomer
    August 30, 2022

    I just updated my ubuntu instance to 22.04.

     

    I have the latest zoom version as of writing this: 

    Version: 5.11.10 (4400

     

    I am running on a doula monitor setup.

    I can not share my screen at all. Only whiteboard and system capture.

     

    Is there a way to keep wayland and share screen?

    I read the release notes and saw quite a couple of bugfixes regarding wayland.

     

    Can I assist with any logs?

    YaBoiB
    Community Champion | Employee
    Community Champion | Employee
    August 30, 2022

    @ajfriesen

     

     All logging processes are handled through our technical Support group. Would you please submit a ticket to that team? 

     

    Thanks, 

    Brandon 

    Newcomer
    September 16, 2022

    Problem is present again in Zoom 5.11.10 (4400) on Ubuntu 22.04.   The only options are "Use System capture" and "Whiteboard".  "Use System capture" doesn't do anything. 

     

    Newcomer
    September 17, 2022

    UPDATE 9/18/22

    I was able to fix screen sharing in XFCE Desktop Environment. I installed a package for the Weston Compositor, this apparently installs all the wayland files. I used the command >sudo apt install weston  It then recomended another package which I also installed. I then ran weston from the command line and it popped open a window with a terminal. Wasn't much to be done there other then to confirm that the package was installed and it could create a window and terminal in the XFCE environment. Restarted the computer, logged in and fired up zoom and works like a champ! 

    I can share individual apps or the entire desktop, and as an added bonus, when sharing the entire desktop, I can scroll through all 4 of my virtual desktops, so the screen sharing has full cooperation with XFCE. Beautiful! 

    _____________________

    Original Post:

     

    I figured I would reply here since I am having a very similar problem in that screen sharing is not working when I join a meeting. This is critical since I am taking a programming class online and it is imperative that screen sharing work.

    Quick History:

    Zoom screen sharing worked just fine about a year ago, at some point I updated Debian and Zoom and screen sharing was broken. I was able to find this thread and was able to make sure I was using X windows and I was again able to share the desktop only, where as before I could share individual screens. Summer break goes by I have again updated Debian and the Linux kernel a few more times, and of course I have updated Zoom to the latest version, and once again screen sharing is broken.

     

    My exact problem is this: When in a hosted meeting, if I click on the 'share' (or try alt 's') button, the button flashes in recognition that it is being clicked on, but nothing happens, no error, no dialog box, nothing. I have checked all my zoom settings and have made sure screen sharing is enabled, I have checked and unchecked all possible combination of settings and nothing makes a difference. Other students (Windows) are able to share screens without issue so it is not a host setting issue.

     

    In addition, I have tried joining using both Chrome and Firefox by clicking on a session link with no solution, I have tried opening, logging in the desktop app and joining the meeting and that has also not worked. I have also tried hosting a zoom session from my Google Pixel 4a cell phone, then joining from my desktop and again I am unable to share the screen from the desktop. 

     

    All other Zoom functions are working correctly including sharing a whiteboard, so it is obviously capable of opening separate windows. All functions are operating correctly, video, audio, etc etc.

     

    System Details:

    Debian Version 11 (bullseye), Linux Kernel 5.10.0.18, Desktop Environment Xfce 4.16, Zoom Version: 5.11.10 (4400)

     

    I have modified the /etc/gdm3 config file to Wayland = False (Note* This actually fixed screen sharing the first time)

    Verified I am running X11 by running the command:

    sudo echo $XDG_SESSION_TYPE
    x11

     

    I also have all the Gnome desktop binaries installed although I do not use Gnome as my Desktop Environment. I can offer up logs, screen shots, etc if it will help resolve the problem. Thank You for your prompt attention to this situation. I will update this if I am able to find a solution in the interim.

    Robert

    Newcomer
    September 19, 2022

    I was resolved by going to `chrome://flags/#enable-webrtc-pipewire-capturer` and changing the value from `Default` to `Enabled`.

    then

    Search for the **file.conf** in **/etc/gdm3/** in my case, Ubuntu 20, it's **custom.conf**

    ```
    sudo nano /etc/gdm3/custom.conf
    ```

    uncomment the line

    `#WaylandEnable=false` to be `WaylandEnable=false`

    then `reboot`

    "_uncommenting that line will use the Xorg display manager instead of Wayland_ "

    Newcomer
    October 16, 2022

    I've just installed "Version: 5.12.2 (4816)" on "Ubuntu 22.04.1 LTS". Still doesn't show me anything but whiteboard to share.

    Newcomer
    October 16, 2022

    I've just installed the latest zoom "Version: 5.12.2 (4816)" on "Ubuntu 22.04.1 LTS".
    It still shows only whiteboard to share.

    Newcomer
    October 16, 2022

    I was resolved by going to `chrome://flags/#enable-webrtc-pipewire-capturer` and changing the value from `Default` to `Enabled`.

    then

    Search for the **file.conf** in **/etc/gdm3/** in my case, Ubuntu 22.04, it's **custom.conf**

    ```
    sudo nano /etc/gdm3/custom.conf
    ```

    uncomment the line

    `#WaylandEnable=false` to be `WaylandEnable=false`

    then `reboot`

    "_uncommenting that line will use the Xorg display manager instead of Wayland_ "

    Newcomer
    October 16, 2022

    I saw this workaround in this thread.
    However, switching to Xorg just to share things in Zoom is not a viable option really.

    Newcomer
    November 5, 2022

    Firstly you need to install the Xorg package

     

    sudo apt-get update
    sudo apt-get install xserver-xorg

    In this file /etc/gdm3/custom.conf (to access it for editing, you could run sudo nano /etc/gdm3/custom.conf), uncomment (remove the leading #) this line

    #WaylandEnable=false

    To

    WaylandEnable=false

    save and exit.

     

    Then run this command in the terminal to restart gdm3

    sudo systemctl restart gdm3.service

     It will log out and log in automatically. Just wait...

    Newcomer
    November 5, 2022

    Thanks for reposting the same thing others have posted before.  But as cygakob and others have pointed out, changing from Wayland to Xorg isn't a viable solution for most people.

    Newcomer
    December 1, 2022

    Hi, everybody

    I had the same problem. My OS is Ubuntu 22.04 and Zoom is 5.12.9.  I was running on Wayland but with xorg driver (I can't remember why).

    So I went on "software & updates" - "additional drivers" and selected the latest NVIDIA proprietary driver (or the open source if you prefer, actually ver 520).

    After a restart everything is working fine.

    Hope it could help