/var/run/tor/control broken symlink

I tried to connect OnionShare with socket file option, but it said “Can’t connect to the Tor controller using socket file /var/run/tor/control.”

Then I tried to see the content inside tor/control by sudoedit and it says No such device or address. But since I can see it exist in GUI File Manager, I tried
ls -l /var/run/tor/
result being,
total 8
srw-rw-rw- 1 debian-tor debian-tor 0 Apr 11 04:19 control
-rw-r----- 1 debian-tor debian-tor 32 Apr 11 04:21 control.authcookie
-rw-r----- 1 debian-tor debian-tor 32 Apr 11 04:21 control_auth_cookie
srw-rw-rw- 1 debian-tor debian-tor 0 Apr 11 04:19 socks
while “control” and “socks” are coloured purple (orphan symlink).

How do I restore broken symlink to use OnionShare properly?

Did you follow these instructions?

Yes, I was following that page’s instruction.
I did Flatpak OnionShare Installation and both Gateway and Workstation VM configurations.
Both OnionShare v1.3 and v2.1 cannot connect to Tor with socket file.

I did tested with other possible Tor-over-Tor setting and while it threw no error, I still couldn’t download my file through the url (“Could not reach the server” error on browser).
I’ll follow that page’s instruction from the biggining one more time.

Edit: I didn’t do anything but now i can use OnionShare v1.3 with socket file without an issue, and then v2.1 won’t even open.
I guess I’ll reinstall it from flatpak.

Anyway, thank you for your time.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Contributors] [Investors] [Priority Support] [Professional Support]