Short Answer:
gconftool-2 --set --type=bool /desktop/gnome/remote_access/enabled true
as the accepted answer mentions, if vino isn't started on the remote machine, use
/usr/lib/vino/vino-server
Long Answer and more info:
A subset of the settings for the current built-in remote access server (vino) can be seen, as mentioned, from vino-preferences. A complete list of gconf flags can be seen with the gconf-editor
command, listed under /desktop/gnome/remote_access .
You can see also the other remote_access keys with this command (or a variation on it):
gconftool-2 -a /desktop/gnome/remote_access
(For whatever reason, -R
will also work.)
You can also get the schema key documentation via the --long-docs
arg.
E.g., for the alternative_port key :
gconftool-2 --long-docs /desktop/gnome/remote_access/alternative_port
The port which the server will listen to if the
'use_alternative_port' key is set to true.
Valid values are in the range from 5000 to 50000.
So, for example, here's how to change default port via command line:
gconftool-2 --set --type=bool /desktop/gnome/remote_access/use_alternative_port true
gconftool-2 --set --type=int /desktop/gnome/remote_access/alternative_port 5999
gconftool will give you the keys under a given directory. Here is the 'remote_access' section:
gconftool-2 -a /desktop/gnome/remote_access
use_upnp = false
vnc_password =
authentication_methods = [vnc]
network_interface =
require_encryption = false
disable_background = false
enabled = true
use_alternative_port = false
mailto =
disable_xdamage = false
lock_screen_on_disconnect = false
icon_visibility = always
view_only = false
prompt_enabled = true
alternative_port = 5900
Here is how to list all the schema docs under /desk/gnome/remote/access (via command-line /bin/bash):
for key in ` gconftool-2 -a /desktop/gnome/remote_access | awk '{print $1}' ` ; do echo $key ; gconftool-2 --long-docs /desktop/gnome/remote_access/$key ; done