On some of the workstations i happen to use, at times it’s neccessary to have Remote Desktop enabled.
Here’s a quick and dirty way to turn it on and off.
sudo gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true
To disable it set it to false.
In a similar way you can enable disable the confirmation request:
gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false
[...] basically on any Gnome based remote machine that you don’t want to perpetually leave accessible.http://sidrit.wordpress.com/2008/08/03/enable-remote-desktop-on-ubuntu-from-command-line/How to go for remote desktop connection through Internet?Remote desktop overviewWith remote desktop [...]