Vidalia detected that the tor software exited unexpectedly
If you are reading this, its because you have installed Tor and Vidalia in Ubuntu (or Debian) and found out that they do not play nice together.
You probably got an error:
Please check the message log for recent warning or error messages.
And you're probably wondering how to quickly fix this problem to get browse the Internet anonymously. A temporary solution is to type the following command in the terminal:
Restart Vidalia and it should work with tor like a charm. But the real problem is that every time you want to use tor with Vidalia, you will need to input that command in the terminal...
The Problem with tor and Vidalia
Upon installation, tor will automatically start-up when booting Ubuntu. When you open Vidalia, it will first check if there is an existing tor process and try to connect to the control port of tor. All we need to do is reconfigure tor so it allows Vidalia to connect and start using the tor process.
How to solve and fix error message: Vidalia detected that the tor software exited unexpectedly. Please check the message log for recent warning or error messages.
First step: is to open the configuration file of tor. Open a terminal and input this command:
After the file opens, scroll down to line 53 to line 60 and you will see something like this:
Second Step: Remove # from #ControlPort 9051 so line 55 looks like this:
Then enable password authentication by removing # from #HashedControlPassword so line 58 looks like this:
Third Step: Input the following command into the terminal to create a password for tor, but where it says, “mypassword,” replace that with a password of your choosing:
The terminal will respond with a hash that looks like this:
Copy this entire hash string, and then replace the defauld value on line 58.
This is how our torrec file looked like when we finished configuring it:
Fourth Step: Save the torrc file: ctrl + s and close it. Then restart tor by inputing this to a terminal:
That's it! Open Vidalia and it should now be able to start and stop tor without a problem.