1

I installed Transmission on Ubuntu 20.04 with sudo apt install transmission-daemon.

After starting the service, when I try to get the status with transmission-remote -si I get:

Unauthorized User

I have stopped the transmission-daemon service, edited the /etc/transmission-daemon/settings.json file and changed "rpc-authentication-required": true info false, restarted the service. But I keep getting the Unauthorized User error.

How do enable the possibility to interact with transmission-remote from my regular user account?

RocketNuts
  • 1,342

2 Answers2

2

My tests indicate that transmission-daemon rewrites the config file when it exits. In your case restarting the service restored the old setting ("rpc-authentication-required": true).

Stop the service, edit /etc/transmission-daemon/settings.json (like you did), only then start the service anew.

transmission-remote -si should now work.


It's possible to use transmission-remote with "rpc-authentication-required": true. After setting up a password you can use these options (from man 1 transmission-remote):

-n --auth username:password
Set the username and password for authentication

-ne --authenv
Set the authentication information from the TR_AUTH environment variable which must be formatted as username:password.

-N --netrc filename Set the authentication information from a netrc file. See netrc(5) for more information.

("See netrc(5)" means "run man 5 netrc".)

2

Another way to run transmission is manually starting the daemon. You can add a parameter which eliminates the need for authentication.

transmission-daemon -T