Linking here a related discussion on the Qubes forum:
Whonix has No Intentional User Freedom Restrictions. I.e. no intentional customization restrictions which wouldnât be easy to overcome when following documentation.
Quote Tor Browser DVM Template Customization
Customization is discouraged! To start Tor Browser from the command line or in debugging mode in a Qubes DVM Template, please press Expand on the right.
There youâll find:
- Option 1: /etc/torbrowser.d/ Settings Method
- Option 2: cd /var/cache/tb-binary/.tb/tor-browser/Browser Method
Improved a bit just now.
With the latter method its described in detail and donât see how customization is limited at all by using Whonix.
And also added another option just now.
- Option 3: Manual Method
Which should allow for all-encompassing customization.
Happy customization.
This is cumbersome due to unresolved upstream issues of which none is introduced by Whonix. In summary, unavailability of a standard compliant Debian package of Tor Browser and mixing binaries and user data into the same folder. See Tor Browser Update: Technical Details.
Thank your @Patrick spending time documenting that, I think this will be very useful for Qubes folks! (Iâll link it back on the Qubes forum thread).
Noted! Thanks for the clarification!
Thank you!
Just two small notes on documented solution:
Permission denied / Canât run Tor Browser as root
Since /var/cache/tb-binary/.tb/tor-browser/Browser
in the (TemplateVM) are owned by root
, then (1) tor browser canât be run with ./start-tor-browser
(as stated in the docs â permission denied) and with sudo ./start-tor-browser
it says âCanât run Tor Browser as rootâ.
So my solution was to:
cd /var/cache/tb-binary/.tb/tor-browser/Browser
-
sudo chown -R user:user .
to make the browser run underuser
- customize Tor Browser
-
sudo chown -R root:root: .
(to change it back to being owned byroot
)
Isnât option 2 the continuation of option 1
It seems like option 1) an 2) go together, so it would make sense for them to be to be under a single option 1) instead.
Should I add these changes to the wiki?
Please do - we need more wiki input from technically minded Qubes users like yourself.
Iâd love to see @adw make a comeback too for ideas & input.
I need a few minutes to think about this and experiment.
Iâve added the âchownâ part, but about the other part Iâve noticed that my comment isnât correct.
The first option show the users how to enable running Tor Browser in the DVM template, but not then does nothing with it. Does that option also allow a user to run it in the TemplateVM? (if so, then it makes sense but needs renaming (DVM->TemplateVM). If not, then this option should be removed as it no longer works.
Sorry @Patrick. I just implemented the change. Feel free to revert it.
Thanks for fixing the permission error. Kept the edit and improved. Since that whole wiki page is for advanced users, I removed the click to expand button.
That was indeed a bit weird and intermingled.
We have now this:
Please check if that now makes more sense. Let me know what you think.
Yes, itâs much more clear now. And the new naming makes lots of sense!
I was able to reproduce both methods. Here is just a little note on a part I found confusing:
Note
Iâm a bit confused on the step 5 and 6 of option 1 regarding where the command should be run.
In Whonix-Workstation ⢠DVM Template whonix-ws-15-dvm:
Create folder /usr/local/etc/torbrowser.d.
[âŚ]
Open file/usr/local/etc/torbrowser.d/50_user.conf
in an editor with root rights. (Qubes-Whonix â˘: In TemplateVM)
I think you mean both of these steps should be done on the DVM Template, right?
But overall this change is pretty helpful. Thanks again @Patrick. Keep up the good work!
That was a documentation bug because I used wiki template
Template:Open with root rights - Whonix
which is inappropriate there. Now fixed.
FWIW, I think itâs appropriate that customizing Tor Browser is only for advanced users. Customization can increase fingerprintability in ways that most users donât understand or donât appreciate. (It seems like even some users who say they understand it still have unrealistic expectations about the level of privacy theyâll achieve post-customization.)
One small note on terminology: DVM Template
changed to DisposableVM Template
a while back.
Alright. Did a wiki wide mass text search and replace just now.
Replace "
DVM Template
" with "DisposableVM Template
" in the text of the following 12 pages:
Yes, thatâs why it is a chapter on this page.
https://www.whonix.org/wiki/Tor_Browser/`Advanced_Users`
Qubes Disposables states:
For most users, Tor Browser customizations in the DisposableVM Template or TemplateVM are discouraged. Advanced users who wish to customize the DVM template despite the risks should follow these steps.
But someone who follows a direct link to Tor Browser Advanced Topics might not know itâs for advanced users only?
Tor Browser Advanced Topics is now stating
Tor Browser customization is discouraged!
This is generally. Not a Qubes DisposableVM Template specific issue.
That link âTor Browser customization is discouraged!â was actually broken which I now changed to:
Tor Browser Advanced Topics
Where I added:
- See also Unsafe Tor Browser Habits.
Right, are we sufficiently pointing that out already in documentation?
Thank you!
Right, I noticed. I was just voicing agreement.
Hm, well itâs right there in the URL, so they should⌠but I suppose some people still wonâtâŚ
Yes, I think so. Again, was just voicing agreement.
Sorry, I saw @torjunkie encouraging my input (thanks!), but I didnât have much to add besides agreeing.