Vidalia needs to obtain SocksPort and ControlPort from tor
In order to ship Tor Browser Bundles that do not conflict with distribution-installed tor clients and tor relays, we must give TBB the ability to automatically choose a new SOCKS port and Control port if the default ports are in use. (See #2264 (closed)).
The current plan is to create torrc options to cause Tor to automatically listen on a random free port for the socksport and the control port, and to communicate these choices to vidalia through log lines or temporary files that are easily parsable (see #3076 (moved)). Vidalia would then set an environment variable to inform Tor Browser (and thus Torbutton) which SOCKS port to use (#2843 (closed)).