Screen sharing issue on Ubuntu 19.04

5,413

Solution 1

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/

Solution 2

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.

Share:
5,413

Related videos on Youtube

KCP
Author by

KCP

Updated on September 18, 2022

Comments

  • KCP
    KCP almost 2 years

    Recently I've upgraded my Ubuntu to 19.04. But there I am facing the issue with sharing screen.

    On Skype: I installed the latest version of skype. But I can't see any screen sharing option. First I thought, it might be the problem with skype. And then tried the other options

    On Chrome: Then I tried to share the screen with hangout and google meet . And there too, it all came with blank screen on the other side of the call.

    On FireFox: Here, when I tried to share screen with hangout and google meet, the problem was same as with chrome.

    I tried to enable sharing option from settings as well. There I couldn't see the screen sharing option: enter image description here

    Even thought I enable sharing option from top right, it gets disabled when I close the settings options and again come back there.

    Is there any thing that I can do to solve this issue? Please help, It's blocking my daily work.

    Thank You.

  • KCP
    KCP about 5 years
    It was already installed when I run the command. But still the problem prevailed. But somehow, I managed to solve it by opening Ubuntu in recovery mode and turning on the share option from there. Since, it gave me a way to solve the problem, I'm accepting the answer.
  • Liso
    Liso about 5 years
    Fair enough, glad you already found the solution !
  • ThunderBird
    ThunderBird over 3 years
    Please, improve the formatting.
  • Pizza
    Pizza about 3 years
    While your answer may solve this issue, it is VERY hard to read. As @ThunderBird suggested, please edit it, and improve your answer's formatting: use lists for steps, maybe use code formatting for values, and generally more spacing and anything that may help users read and understand it better.
  • aky
    aky about 3 years
    Thanks! ): I have editted the post I hope now it's to easy to understand by anyone!!