0

I'm trying to find an easy way for a non technical user to allow me (a technical person) to access their screen remotely over the internet.

(I'm tunneling via SSH so they don't need to open their vnc port in their firewall.)

I'd like to write a script that:

  • Enables sharing.
  • enables screen sharing
  • sets "new connections must ask for access"

I would also like to be able to disable sharing too.

How could I do this?

artfulrobot
  • 8,413
  • 12
  • 64
  • 92
  • 1
    Related: [How can I configure vnc-server remotely via SSH](https://askubuntu.com/questions/1217878/how-can-i-configure-vnc-server-remotely-via-ssh). IIRC there used to be a dconf / gsettings database setting to enable it as well, but that has since been removed and now you must start `/usr/lib/vino/vino-server` directly – steeldriver Sep 09 '20 at 19:53
  • Also related https://unix.stackexchange.com/questions/584174/enable-gnome-screen-sharing-via-commandline – artfulrobot Sep 09 '20 at 21:07

0 Answers0