www.tecklyfe.com Open in urlscan Pro
18.159.80.129  Public Scan

URL: https://www.tecklyfe.com/installing-tor-kali-linux/
Submission: On March 03 via manual from AE — Scanned from DE

Form analysis 3 forms found in the DOM

https://www.tecklyfe.com

<form id="searchform" class="search-form" action="https://www.tecklyfe.com" _lpchecked="1">
  <fieldset><input name="s" id="s" placeholder="Search the site" autocomplete="off">
    <button id="search-image" class="sbutton" value="Search">Search</button>
  </fieldset>
</form>

<form id="commentform" class="comment-form"><iframe title="Comment Form"
    data-ezsrc="https://jetpack.wordpress.com/jetpack-comment/?blogid=115702499&amp;postid=4544&amp;comment_registration=0&amp;require_name_email=1&amp;stc_enabled=0&amp;stb_enabled=1&amp;show_avatars=0&amp;avatar_default=mystery&amp;greeting=Leave+a+Comment&amp;greeting_reply=Leave+a+Reply+to+%25s&amp;color_scheme=light&amp;lang=en_US&amp;jetpack_version=10.6&amp;show_cookie_consent=10&amp;has_cookie_consent=0&amp;token_key=%3Bnormal%3B&amp;sig=bd371e4b211aa1844506e1d8e8b6d386b9f4c09c#parent=https%3A%2F%2Fwww.tecklyfe.com%2Finstalling-tor-kali-linux%2F"
    name="jetpack_remote_comment" style="width:100%;height:430px;border:0" class="ezlazyload jetpack_remote_comment" id="jetpack_remote_comment" sandbox="allow-same-origin allow-top-navigation allow-scripts allow-forms allow-popups"></iframe>
  <script type="text/ez-screx">
    ezoicSiteSpeed(document,String(/domContentLoaded/).substring(1).slice(0,-1),String(/dom-content-loaded-listener/).substring(1).slice(0,-1),function(){var commentForms=document.getElementsByClassName('jetpack_remote_comment');for(var i=0;i<commentForms.length;i++){commentForms[i].allowTransparency=false;commentForms[i].scrolling='no';}});
  </script>
</form>

POST https://feedburner.google.com/fb/a/mailverify?uri=TeckLyfe

<form action="https://feedburner.google.com/fb/a/mailverify?uri=TeckLyfe" method="post" class="wp-subscribe-form wp-subscribe-feedburner" id="wp-subscribe-form-1" target="popupwindow"><input class="regular-text email-field" type="email" name="email"
    placeholder="Enter your email here" required="">
  <input type="hidden" name="uri" value="TeckLyfe">
  <input type="hidden" name="loc" value="en_US">
  <input type="hidden" name="form_type" value="widget">
  <input type="hidden" name="service" value="feedburner">
  <input type="hidden" name="widget" value="wp_subscribe-2">
  <div class="wps-consent-wrapper"><label for="consent-field"><input class="consent-field" id="consent-field" type="checkbox" name="consent" required=""> I consent to my submitted data being collected via this form*</label></div><input class="submit"
    type="submit" name="submit" value="Sign Up Now">
</form>

Text Content

 * Home
 * IT Consulting
   * Tech Support
     * Computer Setup
     * Hardware Upgrades
     * Networking
     * Software Upgrades
     * Training
     * Virus Removal
     * Important Links
       * Malware-Spyware-Virus Removal
   * Business Listings
   * Web Design
   * Web Hosting
     * Linux Servers
     * Windows Servers
     * Monthly & Yearly Service Plans
     * Domain Registration
     * Server Management
   * Microsoft Office 365
   * Google G Suite
 * Affiliations
   * Consultant Services LLC
   * 3one2.art
   * Nelson Testing
   * Winchester Boat Works
 * About Us
   * News Staff
 * Contact Us





Menu
 * Home
 * InfoSec
   * Server Hardening
   * Attacks
   * Leaks
   * Malware
   * Pentest
   * Phishing
   * Ransomware
   * Virus
   * Zero-Day
 * SysAdmin
   * Cisco
   * Linux
   * Mac
   * Windows
 * Tech
   * Apps
   * Gadgets
   * Internet
   * Mobile
     * Smartphone
   * OS
   * Tech Tips
 * Reviews
 * Personal
   * Bryan
   * Fitness
   * Photography
   * Recipe
 * Search

 * Home
 * InfoSec
   * Server Hardening
   * Attacks
   * Leaks
   * Malware
   * Pentest
   * Phishing
   * Ransomware
   * Virus
   * Zero-Day
 * SysAdmin
   * Cisco
   * Linux
   * Mac
   * Windows
 * Tech
   * Apps
   * Gadgets
   * Internet
   * Mobile
     * Smartphone
   * OS
   * Tech Tips
 * Reviews
 * Personal
   * Bryan
   * Fitness
   * Photography
   * Recipe



Home

Technology

Apps

How To Install Tor Browser In Kali Linux


HOW TO INSTALL TOR BROWSER IN KALI LINUX

Rob Russell September 10, 2016 Apps, Internet 25 Comments
Share This:







Tor is free software and an open network. 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. You can read more at TorProject.

 

Related Article: Install Tor Browser in Ubuntu Linux

 


HOW TO INSTALL TOR BROWSER IN KALI LINUX USING APT

 * Open a terminal window
 * Run apt-get update
 * Run apt-get install tor torbrowser-launcher and select Y at the prompt

Now you’ll have a new Tor Browser application in the Applications menu under
Usual Applications and Internet. This shortcut will only work if you’re not
running as the root user. See the instructions below if you’re running Kali as
root.


HOW TO INSTALL TOR BROWSER IN KALI LINUX MANUALLY

   
   
 * Download the Tor Bundle from here: Tor Bundle Download
 * Download a package called torbrowser-launcher which can be found here: GitHub
   – TorBrowser-Launcher
 * Download the architecture-appropriate file above, save it somewhere, then run
   the tar command to extract the package from the download directory: tar -xvf
   tor*
   This command assumes this is the only file in the directory that starts with
   “tor”.
 * To run the Tor Browser Bundle, execute the start-tor-browser script from the
   directory you just extracted: ./start-tor-browser.desktop

This will launch Vidalia and once that connects to Tor, it will launch Firefox.


HOW TO RUN TOR WHILE LOGGED IN AS ROOT

If you’re running Kali Linux as root, you might get an error saying you can’t
run Tor as root. Some website will tell you to edit the launcher script, but
that is not the recommended method. Instead, follow the instructions below to
add a new non-root user.

You can create a new user and configure Tor to run as that user even though
you’re logged in as root. To do so, run these commands from Terminal:

   
   
 * adduser --home /home/toruser toruser (or whatever username you want to use)
   You’ll be prompted to create a password, but you don’t really need to save it
   unless you want to actually login as this user. Fill in the other prompts as
   needed.
 * You’ll need to run xhost si:localuser:toruser from Terminal to get the new
   user listed in xhost.
 * To run Tor as the new user, use this command from Terminal: sudo -u toruser
   -H torbrowser-launcher

You can also edit the Applications menu shortcut, but it’ll require another app
to get installed:

 * Run apt-get install alacarte from Terminal
 * Run alacarte from Terminal after the app is installed
 * Browse through your Applications menu under Usual Applications > Internet and
   find Tor Browser and click Properties
 * Edit the command box and change it to sudo -u toruser -H torbrowser-launcher
   %u
 * Click OK and Close

If you’re running the latest version of Kali that uses XFCE as the default
desktop environment then you can’t use alacarte to edit the application menu.
Instead, navigate to the Usual Applications folder and Internet. Then
right-click on Tor Browser and edit the command entry to be sudo -u toruser -H
torbrowser-launcher %u.


VIDEO TUTORIAL




HOW TO UNINSTALL TOR BROWSER IN KALI LINUX USING APT

If you used the Apt method above to install Tor and later wish to uninstall Tor,
you can use the below command to remove and purge all of the packages and files
that were installed.

 * Open a terminal window
 * Run apt-get remove --purge tor torbrowser-launcher and select Y at the prompt


HOW TO REMOVE TOR USER ACCOUNT

If you used the above methods to create a regular user account to run Tor while
logged in as root, you can use these steps to remove that account and delete the
home directory that was created.

 * Open a terminal window
 * Run userdel -r toruser (or whatever username you want to use)



Share This:




 

Tags:alacarte, apt, debian, kali, linux, root, tor, torbrowser-launcher, ubuntu,
vidalia

25 COMMENTS

 1.  ahronmoshe February 16, 2017
     
     thank you it is very help me!!
     
     Reply
 2.  how September 6, 2018
     
     not very beginner friendly. wish more tutorials would explain more in
     detail. totally lost in many steps
     
     Reply
     * Robert Russell September 6, 2018
       
       Which steps did you get stuck at? Kali isn’t an operating system for
       beginners but I’m sure I could help you get it installed.
       
       Reply
     * Robert Russell September 17, 2018
       
       I’ve made some significant changes to the article. I hope you find them
       helpful and more straightforward.
       
       Reply
 3.  Ebmm September 29, 2018
     
     I followed your instructions to the letter, everything went as your’s did,
     no issues at all yet after the alacarte config, Tor will not start at all.
     I’m using Kali 2018.3 on hardware.
     
     Reply
     * Robert Russell September 29, 2018
       
       Could you paste what you have in the command box from the alacarte
       screen?
       
       Reply
 4.  sam October 11, 2018
     
     i failed to launch the desktop extension.
     
     Reply
 5.  Kavan Mavati October 24, 2018
     
     thank you its very useful info
     
     Reply
 6.  Govender November 8, 2018
     
     Hey this is great!
     
     Although, how can i ensure that i am using tor as “toruser” and not root….
     is there any way i can check?
     
     Reply
     * Robert Russell February 9, 2019
       
       As long as you’re using the commands above to launch Tor you’ll be using
       the toruser account. You might be able to check using the top command and
       see which user the process is running under.
       
       Reply
 7.  Steve Eckler November 9, 2018
     
     Hi…
     
     Got a problem, not starting after the alacarte edit. This is what I put in
     the alacarte command box, “sudo -u torboxuser -H torbrowser-launcher %u.”
     
     whats going on with this do you think?
     
     Reply
     * Robert Russell November 9, 2018
       
       Try
       
       sudo -u torbrowseruser -H torbrowser-launcher %u
       
       No period after the command. And the username after the -u should be the
       one you made in a previous command.
       
       Reply
 8.  Attaullah January 27, 2019
     
     Please Explain How can i uninstall it completely, i installed it using your
     apt defined method. and performed those adding new user commands, Now i
     just want to remove it completely along with the user created, provide a
     guide please ! (username is same as in your commands ‘toruser’)
     
     Reply
     * Robert Russell February 9, 2019
       
       I’ve edited the article to include instructions to uninstall tor and
       tor-launcher as well as removing the user account that was created and
       the home directory for the toruser account.
       
       Reply
 9.  anonymous March 1, 2019
     
     I have a problem .. when I tried to start torbrowser-launcher by using
     command
     sudo -u toruser -H torbrowser-launcher
     I get this
     Tor Browser Launcher
     By Micah Lee, licensed under MIT
     version 0.3.1
     https://github.com/micahflee/torbrowser-launcher
     No protocol specified
     qt.qpa.screen: QXcbConnection: Could not connect to display :0
     Could not connect to any X display.
     what to do?
     
     Reply
     * anonymous March 3, 2019
       
       And I manage to get to the point where it says this:
       Launching ‘./Browser/start-tor-browser –detach’…
       But then when I check the processes running, there is none (except for
       the top process itself)
       
       The way I got there was, first I had to adduser –system –home
       then later locate the file where torbrowser was starting from and putting
       that file with the toruser
       /home/toruser/.local/share/torbrowser/tbb/i686/tor-browser_en-US
       Then from there I could sudo -u toruser -H ./start-tor-browser.desktop
       Launching ‘./Browser/start-tor-browser –detach’…
       
       Now, as I said nothing happens.. I also tried installing alacarte and
       putting in a shortcut to the other user there.
       Earlier I also skipped the step where I move the file, but the result was
       exactly the same as now (just tried something different to see if it
       worked)
       
       I’m a big noob :D please help!
       
       Reply
       * Andy October 25, 2019
         
         I’m getting black screen when I open tor. Can anyone help me?
         
         Reply
     * N August 17, 2019
       
       In the last step ..
       “Edit the command box and change it to sudo -u toruser -H
       torbrowser-launcher %u”
       Change the command to ….
       “xhost si:localuser:toruser && sudo -u toruser -H torbrowser-launcher %u”
       
       Reply
       * cg December 3, 2019
         
         xhost si:localuser:toruser && sudo -u toruser -H torbrowser-launcher %u
         
         Tried that didn’t work either.
         
         kali 5.2.0-kali2-686-pae
         
         Launched from terminal it gets down to “Bootstrapped 100%” then hangs
         indefinately
         
         Reply
 10. andrew November 13, 2019
     
     when i run sudo -u toruser -h torbrowser-launcher i get a bash error (-u :
     command not found)
     
     Reply
 11. Joe Bell February 6, 2020
     
     Hi team, just wanted to thank you for the shortcut method.. I spent 20+
     hours trying to get Tor running on a kali-lite live USB desktop without
     persistence because I’m so new to linux I can’t figure out how to to get
     some persistance.
     
     Anyway I wanted to let people know that despite me running kali as root
     user I was easily able to intall Tor via your shortcut method. Fast!
     
     My setup: Linux kali 4.19.0-kali3-amd64 #1 SMP Debian 4.19.20-1kali1
     (2019-02-14) x86_64 GNU/Linux
     
     Reply
 12. angelo April 14, 2020
     
     Thanks a lot that worked for me after searching for 2h :) keep it up 👆
     
     Reply
 13. Yashaswi August 8, 2020
     
     I am getting an error that the tor doesn’t have any installation candidate
     
     Reply
 14. tiger.blood September 8, 2020
     
     I am getting this response:
     
     Verifying Signature
     Refreshing local keyring…
     Traceback (most recent call last):
     File “/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py”, line
     589, in verify
     c.verify(signature=sig, signed_data=signed)
     File “/usr/lib/python3/dist-packages/gpg/core.py”, line 541, in verify
     raise errors.BadSignatures(results[1], results=results)
     gpg.errors.BadSignatures: 110775B5D101FB36BC6C911BEB774491D9FF06E2: Key
     expired
     
     During handling of the above exception, another exception occurred:
     
     Traceback (most recent call last):
     File “/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py”, line
     600, in run
     verify()
     File “/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py”, line
     594, in verify
     raise Exception
     Exception
     
     During handling of the above exception, another exception occurred:
     
     Traceback (most recent call last):
     File “/usr/lib/python3/dist-packages/torbrowser_launcher/launcher.py”, line
     603, in run
     self.common.refresh_keyring()
     File “/usr/lib/python3/dist-packages/torbrowser_launcher/common.py”, line
     206, in refresh_keyring
     p = subprocess.Popen([‘/usr/bin/gpg2’, ‘–status-fd’, ‘2’,
     File “/usr/lib/python3.8/subprocess.py”, line 854, in __init__
     self._execute_child(args, executable, preexec_fn, close_fds,
     File “/usr/lib/python3.8/subprocess.py”, line 1702, in _execute_child
     raise child_exception_type(errno_num, err_msg, err_filename)
     FileNotFoundError: [Errno 2] No such file or directory: ‘/usr/bin/gpg2’
     Aborted
     
     Reply
 15. vextor June 27, 2021
     
     when i enter “sudo -u … torbrowsser-launcher” come a box about downloading
     torbrowser for the first time but it cancel and ask “are you connected to
     the internet?! :/// my internet connection is ok but why?
     
     Reply


LEAVE A COMMENT CANCEL REPLY



 

report this ad


FOLLOW US

 * 
 * 
 * 
 * 
 * 
 * 
 * 

report this ad

GET MORE STUFF

Subscribe to our mailing list and get interesting stuff and updates to your
email inbox.

I consent to my submitted data being collected via this form*


Thank you for subscribing.

Something went wrong.



we respect your privacy and take protecting it seriously

report this ad


TAGS

Android Apple At&t Chrome Facebook fitness Google group policy Internet Explorer
iOS iPad iPhone iTunes linux Mac macOS malware Microsoft Nokia office 365
outlook personal powershell Privacy ransomware review Samsung security Skype
spotlight sysadmin tech tip ubuntu wifi Windows Windows 7 Windows 8 windows 8.1
windows 10 windows 11 Windows Phone Windows Phone 8 windows update XBox xbox one
report this ad
© 2000-2022 - TeckLyfe.com - We're your center for technology focusing on
InfoSec, Cybersecurity, Privacy, Security, Reviews and How-To's. Founded in
2000, TeckLyfe is based in Chicago, IL.

Reproduction without explicit permission is prohibited. All Rights Reserved.

This website uses cookies and third party services. Please view our Privacy
Policy for more information.

About Us - Privacy Policy - Contact Us - Sitemap

x
x
ENFRDEESITHRSVSRSLNL


DIESE WEBSEITE VERWENDET COOKIES

Um diese Website zu betreiben, ist es für mich notwendig Cookies zu verwenden.
Einige Cookies sind erforderlich, um die Funktionalität zu gewährleisten, andere
brauche ich für Statistiken und wieder andere helfen mir dabei dir nur die
Werbung anzuzeigen, die dich interessiert. Mehr erfährst du in meiner
Datenschutzerklärung.

Weiter mit den empfohlenen Cookies

Anbieter-Liste | Details von Cookies | Datenschutzerklärung


ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_~x