8

I need to allow screen sharing on my machine. In setteings>sharing there is no option of screen sharing at all. Vino is installed. I have looked in gdm3 and lightdm but it is the same. I have installed dconf-editor but I do not know which is the correct setting in /org/gnome/desktop/remote-access/ to allow screen sharing. The require-encryption is off. Thank you

hans
  • 187
  • 1
  • 1
  • 8
  • What happens if you start vino-server directly? – Landak Jun 29 '20 at 06:40
  • Typing `vino-server` results in `command not found`. – hans Jun 29 '20 at 07:03
  • `/usr/local/lib/vino/vino-server` results in `X11 is not detected` – hans Jun 29 '20 at 07:07
  • Are you calling vino-server from within a terminal in the gui? Do you have Wayland installed or X11? What happens if you open the terminal and `echo $DISPLAY; xauth list`? – Landak Jun 29 '20 at 08:50
  • `:0 EVOWEW/unix: MIT-MAGIC-COOKIE-1 9e3783055d740e5d32bbc8128a6eeecd #ffff#45564f574557#: MIT-MAGIC-COOKIE-1 9e3783055d740e5d32bbc8128a6eeecd` – hans Jun 29 '20 at 09:35
  • The above comment is a result of `echo $DISPLAY; xauth list` . I use vino-server from terminal. I am logging into "Ubuntu" and not "Ubuntu Wayland" . X11 and Walyland are installed. – hans Jun 29 '20 at 09:46
  • For me works without problems. However, I'm using GNOME Flashback and not GNOME Shell. After installing Vino an icon to start it appeared in the menu. I just click it (after setting parameters in dconf, of course) and it works. Try to find if you don't also have it somewhere in applications menu. – raj Jun 29 '20 at 10:27
  • I do not find Vino in the menu, how do you use GNOME flashback? – hans Jun 29 '20 at 13:28

2 Answers2

8

I also had faced this issue. I just installed vino and it solved my problem

sudo apt install vino

Now I can see Screen Sharing option in Ubuntu Server 20.04 LTS

mishradk
  • 81
  • 1
  • 1
    This is documented on the ubuntu website: add the package vino for the Screen Sharing option to appear. Maybe add the link to your answer? https://help.ubuntu.com/stable/ubuntu-help/sharing-desktop.html.en – user2707671 Sep 29 '20 at 12:42
  • I already have `vino` and can't see this option in the settings. This is still a basic issue. – gabor aron Oct 04 '21 at 17:35
0

Reinstalling Ubuntu 20.04 from USB drive solved the problem. Probably some tweak I did after installation caused this option to disappear.

hans
  • 187
  • 1
  • 1
  • 8