Setting up Tor on Fedora 35

,

Advice needed …

$ tor
Dec 01 19:09:58.925 [notice] Tor 0.4.6.7 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1l, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.5.0 and Glibc 2.34 as libc.
Dec 01 19:09:58.925 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Dec 01 19:09:58.925 [notice] Read configuration file "/etc/tor/torrc".
Dec 01 19:09:58.927 [notice] Opening Socks listener on 127.0.0.1:9050
Dec 01 19:09:58.927 [warn] Could not bind to 127.0.0.1:9050: Address already in use. Is Tor already running?
Dec 01 19:09:58.927 [warn] Directory /run/tor cannot be read: Permission denied
Dec 01 19:09:58.927 [warn] Before Tor can create a control socket in "/run/tor/control", the directory "/run/tor" needs to exist, and to be accessible only by the user and group account that is running Tor.  (On some Unix systems, anybody who can list a socket can connect to it, so Tor is being careful.)
Dec 01 19:09:58.927 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.
Dec 01 19:09:58.927 [err] Reading config failed--see warnings above.

1 Like

Hi @fedoranewbie Did you read the Start Here part of the forum? New users! Start here! - Ask Fedora
It would nice if we knew more about your devices and systems and question.

Tor is supposed to run as a service and should be configured like this:

sudo dnf install tor
sudo tee /etc/tor/custom.torrc << EOF > /dev/null
TOR_CONFIG_OPTIONS
EOF
sudo systemctl --now enable tor@custom.service

Perhaps you are confusing Tor with Tor Browser:

sudo dnf install torbrowser-launcher
torbrowser-launcher
sed -i -r -e "s|(<dir)(>fonts</dir>)|\1 prefix=\"relative\"\2|" \
~/.local/share/torbrowser/tbb/*/tor-browser_*/\
Browser/TorBrowser/Data/fontconfig/fonts.conf
3 Likes

What @vgaetera said you i am adding some more if you want to install it from tor website then for browser
First download that tor.tar.xz file through a browser
Or from a terminal

wget https://www.torproject.org/dist/torbrowser/11.0.1/tor-browser-linux64-11.0.1_en-US.tar.xz

Then extract the file and then go that folder

./start-tor-browser.desktop --register-app

Tor will be installed

dnf info torbrowser-launcher :

> Description  : Tor Browser Launcher is intended to make Tor Browser easier to
             : install and use for GNU/Linux users. You install
             : torbrowser-launcher from your distribution's package manager and
             : it handles everything else:
             : 
             : * Downloads and installs the most recent version of Tor Browser
             :   in your language and for your computer's architecture, or
             :   launches Tor Browser if it's already installed (Tor Browser
             :   will automatically update itself)
             : * Verifies Tor Browser's signature for you, to ensure the version
             :   you downloaded was cryptographically signed by Tor developers
             :   and was not tampered with
             : * Adds "Tor Browser" and "Tor Browser Launcher Settings"
             :   application launcher to your desktop environment's menu
             : * Optionally plays a modem sound when you open Tor Browser
             :   (because Tor is so slow)

Well I am trying to install and run tor as a service so I can use software like Pidgin to have a more secure conversation.

I already have torbrowser installed but I am having a problem running tor as a service.

Apologize , I will give more information in my future posts. Furthermore, I have a question how do I send a message to a member ? The icon never appears and Java-script is enabled.

Be aware that Tor service is supposed to run as a SOCKS/transparent proxy.
But it’s problematic to avoid traffic leak from different apps when Tor is running on the same host.
Redirecting all traffic to Tor and preventing traffic leak is much easier when it is running on the router.

In any case, you should follow the first part of the above reply to set up Tor service.
Specific Tor config options depend on the proxy type you want to provide.

1 Like