How can I change the default listening port for vino on the command line?

Anonymous July 19, 2014

I have recently loaded Linux Mint 17 XFCE on a headless PC. I need to change the vino remote port from 5900 to 5905 to allow remote access on the internet. dconf tools no longer has that option. Is there a way to change the default listening port from the command line? Or is there another tool available?

  1. Bruce E
    July 19, 2014 at 2:05 pm

    The following commands should do the trick:

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

    • Larry
      July 22, 2014 at 12:03 pm

      Thank you very much...worked just fine.