Background info (scroll down for the issue at hand):
A couple of years ago I ran a Ubuntu virtual machine to play around with it but since I had no 'real' use for it and my regular windows desktop covered all my needs I eventually dropped the whole thing.
I have an old Athlon XP with 512 mB of RAM doing light seedbox work running Win7 and back then I already considered running a linux distro on it but since it's integrated to a windows network digging into the whole samba configuration didn't seem to be worth the hassle.
Recently however, we upgraded our internect connection with a second WAN line so we jumped from 8 to about 40 mbps. This overtaxes the 'seedbox' as it is. I am recycling a dual core with 2 gigs RAM and gigabit ethernet for the 'seedbox' and am tempted to just drop win10 and utorrent on it again but wanted to try out something with some extra performance.
So I installed Debian in its most basic form at first to run Deluge as a service and do the rest remotely. I ended up with like two dozen firefox tabs (carefully bookmarked lol) split over 3 different screens to get the hang of the command line but ended up installing lxde anyway.
Anyway, I installed deluge, deluge-console and deluge-web.
I followed the thinclient setup guide http://dev.deluge-torrent.org/wiki/UserGuide/ThinClient and the service setup guide http://dev.deluge-torrent.org/wiki/User ... ce/systemd to get the daemon running as a service.
I can http in, no problem. I downloaded a torrent and got it off the samba share just fine.
Everything is default as per the guides except for:
- 'allow_remote' value set to true
- the client having been set to connection manager
- auth file under ~/.config/deluge/auth has been edited with
Code: Select all
testuser:testA:10
deluge:deluge:10
To further paint the picture of my setup, I have the following system users:
- root, of course
- testuser, password testA
- deluge, with password disabled as per guide and in usergroup deluge for the daemon service
The actual issue
Now here's the thing. If I http in and use the connection manager, I have to select localhost without a username or password and the daemon is connectable. Connecting to it asks for the default password (deluge) but NO username.
Using the box's IP address fails. Either with no user-pass, with user 'deluge', pass 'deluge', user "" pass 'deluge', user 'testuser' pass 'testA'.
If I stop the service and launch the daemon from the terminal logged in as 'testuser' using the 'deluged' command, I can connect with either user-pass combo in the auth file but I can't see the torrent I downloaded under the service. This leads me to the obvious conclusion that the service runs as the system user 'deluge' with no password like it's supposed to, but for the life of me I can't figure out which auth file it reads (clearly neither the root's nor testuser's auth file).
~/.config is, as far as I understand, <currentuser home>/.config right? So it seems logical that if I launch deluged from 'testuser', the auth file will be read from /home/testuser/.config/deluge/auth
But if the service is run from user 'deluge' with home folder in '/var/lib/deluge deluge' where's the auth file? I browsed back and forth through all possible directories to the point I'm completely mired!
Of course, su deluge doesn't work since the password is disabled.
Any pointers appreciated, or do let me know if I got this all wrong.