Opened 5 years ago

Closed 3 years ago

Last modified 3 years ago

#15185 closed defect (worksforme)

Tor Browser: open URL from command line

Reported by: ilf Owned by: tbb-team
Priority: Medium Milestone:
Component: Applications/Tor Browser Version:
Severity: Normal Keywords: tbb-usability
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

I'd like to make Tor Browser my default browser by symlinking /etc/alternatives/x-www-browser to it.

However, using /path/to/tor-browser_en-US/start-tor-browser https://check.torproject.org/ results in the error message:

Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system.

Using /path/to/tor-browser_en-US/Browser/firefox gives the same result.

Child Tickets

Change History (4)

comment:1 Changed 3 years ago by ilf

Keywords: tbb-usability added
Severity: Normal

comment:2 Changed 3 years ago by cypherpunks

Resolution: worksforme
Status: newclosed

Unlike Firefox, Tor Browser defaults to --no-remote. So for that to work you need to have started it with --allow-remote.

I believe the reason for disabling this by default is making foot-shooting harder for users. So keep that in mind.

(BTW, never try to run the firefox binary directly, unless you know well what you're doing.)

comment:3 Changed 3 years ago by ilf

Have you tried it? This doesn't work for me:

  1. Start /path/to/tor-browser_en-US/start-tor-browser --allow-remote
  1. Try /path/to/tor-browser_en-US/start-tor-browser https://check.torproject.org/
  1. Error:

Tor Browser is already running, but is not responding. To open a new window, you must first close the existing Tor Browser process, or restart your system.

Same thing with -new-tab.

comment:4 Changed 3 years ago by cypherpunks

Yes. But I wasn't clear enough, you need to start it with --allow-remote but you also need the option when sending a command, like opening a URL. So add it as well to your 2nd command line.

Note: See TracTickets for help on using tickets.