Tor is installed but I cannot execute it / Kali linux

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
Hello,
I have installed Tor, however like so often in Linux, I cannot start the application.

Code:
dpkg-query -L tor

gives me:

Code:
.
/etc
/etc/apparmor.d
/etc/apparmor.d/abstractions
/etc/apparmor.d/abstractions/tor
/etc/apparmor.d/system_tor
/etc/cron.weekly
/etc/cron.weekly/tor
/etc/default
/etc/default/tor
/etc/init.d
/etc/init.d/tor
/etc/logrotate.d
/etc/logrotate.d/tor
/etc/runit
/etc/runit/runsvdir
/etc/runit/runsvdir/default
/etc/sv
/etc/sv/tor
/etc/sv/tor/.meta
/etc/sv/tor/.meta/installed
/etc/sv/tor/log
/etc/sv/tor/log/run
/etc/sv/tor/run
/etc/tor
/etc/tor/torrc
/lib
/lib/systemd
/lib/systemd/system
/lib/systemd/system/tor.service
/lib/systemd/system/[email protected]
/lib/systemd/system/[email protected]
/lib/systemd/system-generators
/lib/systemd/system-generators/tor-generator
/usr
/usr/bin
/usr/bin/tor
/usr/bin/tor-gencert
/usr/bin/tor-print-ed-signing-cert
/usr/bin/tor-resolve
/usr/bin/torify
/usr/sbin
/usr/sbin/tor-instance-create
/usr/share
/usr/share/doc
/usr/share/doc/tor
/usr/share/doc/tor/NEWS.Debian.gz
/usr/share/doc/tor/README.Debian
/usr/share/doc/tor/changelog.Debian.gz
/usr/share/doc/tor/changelog.gz
/usr/share/doc/tor/copyright
/usr/share/doc/tor/tor-exit-notice.html
/usr/share/doc/tor/tor-gencert.html
/usr/share/doc/tor/tor-print-ed-signing-cert.html
/usr/share/doc/tor/tor-resolve.html
/usr/share/doc/tor/tor.html
/usr/share/doc/tor/torify.html
/usr/share/doc/tor/torrc.sample.gz
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/tor
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tor-gencert.1.gz
/usr/share/man/man1/tor-print-ed-signing-cert.1.gz
/usr/share/man/man1/tor-resolve.1.gz
/usr/share/man/man1/tor.1.gz
/usr/share/man/man1/torify.1.gz
/usr/share/man/man5
/usr/share/man/man8
/usr/share/man/man8/tor-instance-create.8.gz
/usr/share/runit
/usr/share/runit/meta
/usr/share/runit/meta/tor
/usr/share/runit/meta/tor/installed
/usr/share/tor
/usr/share/tor/tor-service-defaults-torrc
/usr/share/tor/tor-service-defaults-torrc-instances
/var
/var/log
/var/log/runit
/var/log/runit/tor
/etc/sv/tor/log/supervise
/etc/sv/tor/supervise
/usr/sbin/tor
/usr/share/man/man5/torrc.5.gz

I didn't find any .sh-file?? Which one is the right directory? Thanks
 


OP
I

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
Ok thanks for this, however using torbrowser-launcher I got the Browser error:

"The Tor Browser Bundle should not be run as root. Exiting." Why is this?
 

arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,637
Reaction score
1,304
Credits
3,117
Which release of Kali Linux have you got?

Are you automatically Root, or can you choose? What happens if you input to a Terminal: torbrowser-launcher

What does your command line look like? Does it have an $ sign or a # sign?
 
OP
I

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.1"
VERSION_ID="2020.1"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
[email protected]:~# ^C
[email protected]:~#

torbrowser-launcher:

torbrowser-launcher

Tor Browser Launcher
By Micah Lee, licensed under MIT
version 0.3.2
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Launching Tor Browser.
Running /root/.local/share/torbrowser/tbb/x86_64/tor-browser_en-US/start-tor-browser.desktop
Launching './Browser/start-tor-browser --detach'...
./Browser/start-tor-browser: line 37: [: : integer expression expected
^C

Then the application stops, commandline sing is "#".
 

arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,637
Reaction score
1,304
Credits
3,117
What happens if you input: exit
after the #?
 

arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,637
Reaction score
1,304
Credits
3,117
Have you logged in as Root and not a normal user?
 
OP
I

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
Have you logged in as Root and not a normal user?

Yes, I understand. I'm logged in as root on my Kali on the VM, but I also intalled Kali Linux on a stick, which should be better anyway. There I'm logged in as a normal user.
 
OP
I

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
O.k. if I my add this question, I installed TOR now on my Kali stick (Kali 2020 / normal user) it works fine, however the next time I start the system, TOR is gone, why is this?
 

arochester

Moderator
Staff member
Gold Supporter
Joined
Apr 25, 2017
Messages
1,637
Reaction score
1,304
Credits
3,117
As I have said several times there are 3 ways of putting a distro on a USB stick.
Normal. This is like a LiveCD. EVERYTHING you install will be LOST when you reboot
Persistence. This is like having a Home on the stick. SOME stuff can be saved BUT NOT ALL.
Full Install. EVERYTHING will be SAVED when you reboot.

I think you have a normal install and anything you install will be lost when you reboot.
 
OP
I

iago

New Member
Joined
Aug 5, 2020
Messages
8
Reaction score
0
Credits
62
I think you have a normal install and anything you install will be lost when you reboot.
Thanks a lot man!!

I have a persistance partition now. When I click on that partition it says: "Cannot eject drive in use: Device /dev/sdb1 is mounted
I don't want to eject the partition at all, just write some data in it!? (I think at least that the partition is there for writing data that "persists")
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top