After searching for a solution to run Transmission BitTorrent client as a service (daemon) instead of opening manually and keep the running icon on the desktop and found ‘transmission-daemon’ package which will let us to run Transmission in a headless server or in our own NAS. Transmission daemon can be accessed by its’ web interface with a web browser from anywhere. I’ll guide you step by step on installing Transmission in Headless mode.
sudo apt-get updatesudo apt-get install transmission-daemon
Next we need to create two folders where the torrent files be downloaded and a folder for uncompleted torrents as below.
mkdir ~/transmissionmkdir ~/transmission/completed ~/
Note: “~/” is your home folder, mine is /home/irfad
As transmission-daemon runs by the user ‘debian-transmission‘ we need to give full access to that user and also allow myself to have full access to the folders.
To change ownership of the directories to the debian-transmission user and it’s group type the following.
sudo chown debian-transmission:debian-
transmission ~/transmission/completedsudo chown debian-transmission:debian-transmission ~/transmission/incomplete
Now add current user account to debian-transmission group.
sudo usermod -a -G debian-transmission irfad
Change permission of the directory to allow only owner and group to access it.
sudo chmod 770 ~/transmission/*
Edit the following lines in transmission-daemon configuration file.
sudo nano /etc/transmission-daemon/
completed”,“incomplete-dir”: “/home/irfad/transmission/ incomplete”,“rpc-authentication-required”: true, #Authentication is enabled by default“rpc-password”: “geeklk”, #Set a password for username“rpc-port”: 9091,“rpc-username”: “transmission”, #Default username“rpc-whitelist”: “127.0.0.1,*.*.*.*”, #Allow access from anywhere
Save the configuration file and reload the daemon
sudo service transmission-daemon reload
Now simply type the address in the web browser and login with username ‘transmission and password given in the config file.
http://<current IP, hostname>:9091