Howto: Setup Vidalia TOR GUI with Ubuntu Linux, Tweak Tor for Speed and surf anonymously!


[updated] - Added ppa archive, Updated Tor to latest Version, Updated To latest Vidalia Version and added Tor speed Tweaks!

Do you want completely anonymous internet access? For Free? Tor is the open source leader to anonymous connections on the internet, you can anonymize your internet presence from AIM/ICQ/MSN/ Jabber/IRC/WWW/FTP and you can even issue a torify command at the command prompt to anonymize your wget/ssh/lynx/ftp/perl or whatever. Basically tor is for the people by the people, it is only alive because we make it so, we can choose to use it freely or use it freely and help it out by running a server on your computer to make the internet safer. Basically tor encrypts your data communications through chained/linked proxies all over the internet.

Vidalia is a cross-platform controller GUI for Tor, built using the Qt framework. Using Vidalia, you can start and stop Tor, view the status of Tor at a glance, and monitor Tor’s bandwidth usage. Vidalia also makes it easy to contribute to the Tor network by helping you set up and manage your own Tor server.

Vidalia runs on most platforms supported by Qt 4.1 or later, including Windows, Mac OS X, and Linux or other Unix variants using the X11 window system.

Here is how to set it up

First things first lets get the latest tor and its dependencies then install Tor
This post may be outdated, here is the latest src
sudo apt-get install libevent
wget http://www.torproject.org/dist/tor-0.2.0.22-rc.tar.gz
tar zxvf tor-0.2.0.22-rc.tar.gz ; cd tor-0.2.0.22-rc
./configure && make
sudo make install
Ok now tor should be installed...

Now lets Install Vidalia GUI
I prefer to grab the latest version and compile to source but I will give you the quick and easy way and then how to compile from src
Open up System->Preferences->Software Sources and enter these repositories into 3rd Party Repositories:
deb http://ppa.launchpad.net/adnarim/ubuntu gutsy main
deb-src http://ppa.launchpad.net/adnarim/ubuntu gutsy main

Then apt-get:
sudo apt-get install vidalia

Alternatively you can install this package by compiling it from source, here is how:

This will apt get tor and the dependencies, wget vidalia, extract and cd to the directory and configure for you.

sudo apt-get install qt4-dev-tools qt4-designer libqt4-dev cmake

wget http://www.vidalia-project.net/dist/vidalia-0.1.1.tar.gz
This vidalia package may be outdated, check here for the latest version!
tar zxvf vidalia-0.1.1.tar.gz

cd vidalia-0.1.1

cmake . && make

sudo make install

Now the latest vidalia and Tor are compiled and installed!

Once installed press alt F2 and open the run prompt and type in “vidalia” without the quotes, this will start tor, vidalia and you can configure tor/vidalia by right clicking on the tray applet and click on settings, right there you can view all the nodes and choose what to connect to, see node uptimes, os’s and locations with a graphical map.

For web browsing in firefox I prefer using an extention named FoxyProxy it works well with firefox and swiftfox, you can grab this extention directly from here
If you prefer stronger anonymity & protection I strongly Suggest Torbutton for firefox
Direct Download NOW
Install the addon and go through the Tor wizard and it will set you up for you and you can view which tor nodes you connect through actively via vidalia

I hope you enjoy my first tutorial on ubuntu privacy concerns. I hope many more people use tor and set up a server to anonymize the world.

[updated]
Speed Tweaks for tor:
Ok we all know tor can be slower than a turtle so, lets get to editing our torrc so we can improve the speed!
gedit ~/.vidalia/torrc

Paste this at the beginning of the torrc:

# Set the Tor Circuit Build time to find faster tor servers, increments of seconds
CircuitBuildTimeout 2
# connections while Tor is not in use.
KeepalivePeriod 60
# Force Tor to consider whether to build a new circuit every NUM seconds.
NewCircuitPeriod 15
# Set How many entry guards we should we keep at a time
NumEntryGuards 8

Now ctrl-s Save and exit, and restart tor/vidalia

Comments (18)

Loading... Logging you in...
  • Logged in as
Sorry but what is this for?
@chad

Tor routes your internet traffic through a random network making it almost impossible to trace.

It is slower however so best for light applications rather than file sharing.
ah, disable tor from startup and let vidalia start up tor
You can leave tor enabled on startup,

I had to edit /etc/tor/torrc and remove the "#" from the line " ControlPort 9051" so that vidalia could control tor.

I changed the tor executable to;
sudo /etc/init.d/tor start
Then,I used sudo visudo to allow me to run this command without a password by adding the line; myUserName ALL= NOPASSWD: /etc/init.d/tor
I know this isn't really a help forum but for some reason if I want to apt-get update, upgrade, or even install a package from repo vidalia has to be running. Even if I restart my computer. Now it's not a huge deal cause technically apt-get works but I wondered why it is doing this?
ubuntulunux's avatar

ubuntulunux · 882 weeks ago

i have deleted all posts copied from your site or gave the source link please check if i am missing something.I am sorry for this ==>only ubuntu linux
1 reply · active 882 weeks ago
Thanks for contacting me!, a complete removal is not necessary, dont copy/paste the full article, just copy half or a little more, a simple link to me with a "read more at ubuntu unleashed" is fine, I shot you an email about that.
Hi,
I use Hardy. when I execute " cmake ." I got error

-- Configuring Vidalia 0.1.5
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error: Internal CMake error, TryCompile configure of cmake failed
-- Check for working CXX compiler: CMAKE_CXX_COMPILER-NOTFOUND -- broken
CMake Error: The C++ compiler "CMAKE_CXX_COMPILER-NOTFOUND" is not able to compile a simple test program.
It fails with the following output:

CMake will not be able to correctly generate this project.
CMake Error: your CXX compiler: "CMAKE_CXX_COMPILER-NOTFOUND" was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
-- Configuring done
would you please help me.
Thanks in advance.
1 reply · active 872 weeks ago
Dick Cheney's avatar

Dick Cheney · 872 weeks ago

You need to install a compiler:

sudo apt-get install build-essential
thanks a ton guys!
But why are there no Vidalia packages in the Ubuntu repositories? And why is the whole process so complicated? I mean, in Windows XP and Mac OS X I just have to download the bundle, follow some simple steps in a wizard and I'm ready to do, with Tor, Vidalia, Privoxy and Torbutton already configured. And NO COMPILING!

Why is it that in Ubuntu I have to follow such arcane steps just to install Vidalia? I'm not trolling here, I just want a sincere answer. Are the developers paying more attention to the Windows and Mac OS X versions? Because I might donate some money to these projects, maybe it will convince them to make the installation of the bundle more human friendly on Linux. Thank you.
everything has installed successfully, I am able to see the Vidalia window and tray icon too but the only problem is...whenever I open Vidalia it's status is "Tor is starting up"

Why is this happening?
I meant 'qt4' instead onf qt1 in message above
HI All,
I found this approach was simple for isntalling Vidalia without needing to build anything:

http://www.ubuntugeek.com/howto-install-torprivox...
I had a problem with my torrc and the guys in #tor helped me. The problem was in this line:

CircuitBuildTimeout 2

Don't add it to your torrc.
Sebastian Hahn's avatar

Sebastian Hahn · 850 weeks ago

We just had a Tor user show up in the IRC support channel who followed this guide. Unfortunately, the torrc options at the bottom are very bad for your anonymity, and for many users prevent successful use of Tor at all. Please remove them, as they're hurting the Tor network, severly lessen anonymity and are capable of rendering Tor nonfunctional.
I had tor and Vidalia on my Ubuntu Intrepid Ibex 8.10 but Vidalia seen freeze after startup while tor is working fine! bump, could any body help me to resolve it? It was working fine on my Ubuntu Hardy Heron 8.04.
Error on .configure && make;

make[3]: Entering directory `/home/abdrahim/tor-0.2.0.22-rc/src/common'
gcc -DHAVE_CONFIG_H -I. -I../.. -I../common -g -O2 -Wall -g -O2 -MT log.o -MD -MP -MF .deps/log.Tpo -c -o log.o log.c
mv -f .deps/log.Tpo .deps/log.Po
gcc -DHAVE_CONFIG_H -I. -I../.. -I../common -g -O2 -Wall -g -O2 -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
In function ‘open’,
inlined from ‘finish_daemon’ at util.c:3095:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[3]: *** [util.o] Error 1
make[3]: Leaving directory `/home/abdrahim/tor-0.2.0.22-rc/src/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/abdrahim/tor-0.2.0.22-rc/src'
make[1]: *** [all-recursive] Error 1

Post a new comment

Comments by

Clicky Web Analytics