Wednesday, May 13, 2015

Installing TOR in Kali Linux And Fixing Error TOR Cant Run

The Tor Browser Bundle should not be run as root - Tor is free software and an open network that helps you defend against traffic analysis, a form of network surveillance that threatens personal freedom and privacy, confidential business activities and relationships, and state security.

The Tor network is a group of volunteer-operated servers that allows people to improve their privacy and security on the Internet. Tor's users employ this network by connecting through a series of virtual tunnels rather than making a direct connection, thus allowing both organizations and individuals to share information over public networks without compromising their privacy.

Also on Linuxslaves Install Vivaldi, A Beautiful Browser For You Linux.

Along the same line, Tor is an effective censorship circumvention tool, allowing its users to reach otherwise blocked destinations or content. Tor can also be used as a building block for software developers to create new communication tools with built-in privacy features. 

Why Anonymity Matters?

Refers from https://www.torproject.org/ TOR protects you by bouncing your communications around a distributed network of relays run by volunteers all around the world: it prevents somebody watching your Internet connection from learning what sites you visit, and it prevents the sites you visit from learning your physical location. 

1. Installing TOR in Kali Linux

To install TOR using Kali Linux repository, you can follow this command :

apt-get install tor

2. Download and Running TOR Bundle

Second Step download the TOR Bundle. Link available below this post. Download which one compatible with your Linux Distro. Save it anywhere you want, then extract it.

tar -xvzf tor-browser-gnu-linux-i686-2.3.25-15-dev-LANG.tar.gz

After done extracting, open the directory, change permission and then run TOR. Open your terminal, type and run by follow the command below :

chmod +x start-tor-browser.desktop
./start-tor-browser.desktop 

Now you can run TOR Browser in your Kali Linux. Enjoy!

Error Fixing

1. The TOR Browser Bundle should not be run as root

Almost problem when running TOR Browser for first time is message “The Tor Browser Bundle should not be run as root”. To fix this problem you only need change a little code. Open start-tor-browser file using your favorite text editor.

Also read : 5 Best Programming Text Editor For Linux Distributution.

Find this code!

if [ "`id -u`" -eq 0 ]; then
complain "The Tor Browser Bundle should not be run as root.  Exiting."
exit 1
fi

Then remove that code or add # in first of all the line of code above. So it will be like this :

#if [ "`id -u`" -eq 0 ]; then
#complain "The Tor Browser Bundle should not be run as root.  Exiting."
#exit 1
#fi

Reopen Tor and banzai.... TOR will open and running in your Kali Linux.

2. TOR Browser Unexpectedly Exited

Second problem which almost happen in Kali Linux is "Tor unexpectedly exited. This might be due to a bug in Tor itself, another program on your system, or faulty hardware. Untill you start Tor, the Tor Browser will not able to reach any website". To fix this, you must change ownership. Open your terminal, type and run this command :

chown -hR root tor-browser_en-US/

Now, reopen. Enjoy the Tor Browser!

How to install tor in kali linux

Conclusion

Now we take a conclussion about TOR. It’s only as secured as the upstream nodes are! VPN is always better solution. And VPN is faster than TOR. You should try VPN, read How to Connect Free Open VPN Service in Linux.

So that's all I can write about how to install TOR in Kali Linux. Hope you've enjoyed reading this tutorial as much I’ve enjoyed writing it. Please comment with feedback to support us. Thanks for visit.

Related Post

4 Responses to "Installing TOR in Kali Linux And Fixing Error TOR Cant Run"

  1. its totally work for me for tor unexpectedly exited. very good post

    ReplyDelete
    Replies
    1. You're welcome james. thanks for visit

      Delete
  2. huge thanks for second sollution, it's work for me..

    ReplyDelete
    Replies
    1. youre welcome stev. thanks for your comment

      Delete