You are not logged in.

#1 2016-03-28 19:18:15

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 298

[Solved] Change screen sharing port on Gnome 3.18

I'm setting up 2 pc's with Gnome 3.18 and enabled sharing of the screen. I need to setup port forwarding to each of the pc's so I need the ports they listen on to be unique. They both default to 5900. It's working fine from one pc to the other.

I tried using dconf-editor and the following from the terminal:

conftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5501

Rebooted. Except it's not working. I can confirm the keys exist using dconf-editor.

Any help on what I need to do to fix this please?

Thanks!

Last edited by mouseman (2016-03-29 06:51:20)

Offline

#2 2016-03-28 20:03:16

doggone
Member
Registered: 2013-06-19
Posts: 50

Re: [Solved] Change screen sharing port on Gnome 3.18

Sadly I could not find any real documentation for Vino, not even a man page (boo, GNOME!). I'm not sure where you're getting your information but it seems that it's a bit outdated. Apparently the schema path changed in Vino 3.8. So now, using gsettings (since gconftool is deprecated), you'd do:

gsettings set org.gnome.Vino use-alternative-port true
gsettings set org.gnome.Vino alternative-port 5501

I'm not sure why, but dconf-editor displays these keys in org.gnome.desktop.remote-access.

You could also look into SSH tunneling.

Offline

#3 2016-03-29 06:54:25

mouseman
Member
From: Outta nowhere
Registered: 2014-04-04
Posts: 298

Re: [Solved] Change screen sharing port on Gnome 3.18

doggone wrote:

Sadly I could not find any real documentation for Vino, not even a man page (boo, GNOME!). I'm not sure where you're getting your information but it seems that it's a bit outdated. Apparently the schema path changed in Vino 3.8. So now, using gsettings (since gconftool is deprecated), you'd do:

gsettings set org.gnome.Vino use-alternative-port true
gsettings set org.gnome.Vino alternative-port 5501

I'm not sure why, but dconf-editor displays these keys in org.gnome.desktop.remote-access.

You could also look into SSH tunneling.

Thanks! Gsettings command works.

I blame the internet for storing outdated information big_smile.

Offline

Board footer

Powered by FluxBB