LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-03-2022, 06:25 AM   #1
mickey0
LQ Newbie
 
Registered: Oct 2006
Distribution: Kubuntu Dapper
Posts: 18

Rep: Reputation: 0
Tor doens't start anymore


Hello,

Tor was working fine until I dragged it on my panel, on the bottom, next to the firefox icon.
Before I used to launch it by ~/tor-browser_en-US] # ./start-tor-browser.desktop without any problems
Launching ./start-tor-browser.desktop --log output.txt, I have this output:

Code:
cat output 
./firefox.real: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by ./TorBrowser/Tor/libstdc++/libstdc++.so.6)
Can anyone explain why it was working the night before (I didn't update anything) and also how I can fix it?

Thanks a million.
 
Old 01-03-2022, 06:48 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Quote:
Originally Posted by mickey0 View Post
Before I used to launch it by ~/tor-browser_en-US] # ./start-tor-browser.desktop without any problems
The # in the prompt suggests you were launching it as root. Is it so? Why?

A comment inside ./start-tor-browser.desktop says (emphasis mine):
Quote:
This file is a self-modifying .desktop file that can be run from the shell.

Run './start-tor-browser.desktop --help' to display the full set of options.

When invoked from the shell, this file must always be in a Tor Browser root directory. When run from the file manager or desktop GUI, it is relocatable.

After first invocation, it will update itself with the absolute path to the current TBB location, to support relocation of this .desktop file for GUI invocation. You can also add Tor Browser to your desktop's application menu by running './start-tor-browser.desktop --register-app'

If you use --register-app, and then relocate your TBB directory, Tor Browser will no longer launch from your desktop's app launcher/dock. However, if you re-run --register-app from inside that new directory, the script will correct the absolute paths and re-register itself.

This file will also still function if the path changes when TBB is used as a portable app, so long as it is run directly from that new directory, either via the shell or via the file manager.

Last edited by shruggy; 01-03-2022 at 07:02 AM.
 
Old 01-03-2022, 07:04 AM   #3
mickey0
LQ Newbie
 
Registered: Oct 2006
Distribution: Kubuntu Dapper
Posts: 18

Original Poster
Rep: Reputation: 0
Hello,
no I didn't launch it as root but as user.
Are you suggesting .desktop file has been modified. Could I do it dragging the icon? I don't understand libc message by the way.
I don't have idea how to fix it.
This is the content of the file, if it is necessary:
Code:
[Desktop Entry]
Type=Application
Name=Tor Browser
GenericName=Web Browser
Comment=Tor Browser is +1 for privacy and −1 for mass surveillance
Categories=Network;WebBrowser;Security;
Exec=sh -c '"/home/michele/tor-browser_en-US/Browser/start-tor-browser" --detach || ([ !  -x "/home/michele/tor-browser_en-US/Browser/start-tor-browser" ] && "$(dirname "$*")"/Browser/start-tor-browser --detach)' dummy %k
X-TorBrowser-ExecShell=./Browser/start-tor-browser --detach
Icon=/home/michele/tor-browser_en-US/Browser/browser/chrome/icons/default/default128.png
StartupWMClass=Tor Browser
As I said, I've been launching it in that way for months with no problems at all....

------------EDIT----------------------
Here the output but Tor isn't still working:
Quote:
./start-tor-browser.desktop --register-app
Launching './Browser/start-tor-browser --detach --register-app'...
Could not parse file "/home/michele/.local/share/applications/TeXworks.desktop": Invalid key name: Path[$e]
Tor Browser has been registered as a desktop app for this user in ~/.local/share/applications/

Last edited by mickey0; 01-03-2022 at 07:14 AM. Reason: EDIT
 
Old 01-03-2022, 07:17 AM   #4
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,688

Rep: Reputation: Disabled
Could it be that Tor got automatically updated, and the new release now requires at least glibc 2.18? What is your distro? RHEL/CentOS 7 released in 2014 has glibc 2.17, anything newer should have a glibc compatible with the latest Tor.

Update. Cross-posted from f.c.o. So, it's CentOS 7 after all. Then no wonder it doesn't work. Don't mess around with the tarball from https://www.torproject.org. Use the package from EPEL instead.

Quote:
Invalid key name: Path[$e]
Fix the invalid key. It should be Path=/home/michele/tor-browser_en-US, not Path[$e]

Last edited by shruggy; 01-03-2022 at 11:25 AM.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Tor does no longer start automatically after update to tor 0.2.7.6 Michael Uplawski Linux - Software 6 08-20-2017 11:15 AM
KDM doens't log me anymore mickey0 Linux - Desktop 7 12-09-2006 04:10 AM
Epson Stylus Color 600 doens't like CUPS jmcvicar Linux - General 0 06-15-2001 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration