Screen sharing issue on Ubuntu 19.04

According to Ubuntu's screen sharing guide, one must have the Vino package installed for Screen Sharing to be visible.

Vino is the default VNC server in Ubuntu to share your existing desktop with other users.

sudo apt install vino

Logout/login then try again any screen sharing attempt, you can navigate to settings and see if the Sharing now display screen sharing option.

enter image description here

Source: https://www.hagensieker.com/wordpress/2018/04/27/how-to-do-screen-sharing-on-ubuntu-18-04/


I also had a similar issue.Vino was present even then screenshare was not happening.I had to use windows while meetings because of this.After few days while screen recording on ubuntu I was having a similar issue of getting black screen on the recorded video.Starting the recording software from terminal gave me clue that Wayland was somewhere causing the issue.I tried recording by disabling it,and voila!! it worked and not just for recording,even screenshare worked in all browsers.

To disable wayland follow the steps:
1: Open files
2: Other locations
3: Computer
4: etc
5: Search for 'gdm3'
6: within gdm3 two '.conf' files will be present,you can view them by opening and look the one having line #Wayland=false
7: Right click there and choose 'open in terminal' Within terminal : sudo nano custom.conf (this name might be different depending on ubuntu version but check file for #Wayland=false line and edit that)
8: Uncomment the '#Wayland=false'
9: ctrl+o
10: ctrl+x 11: reboot the system.