I'm trying to write a startup script to launch rtorrent. I've planed on using screen in the script. I tried this command in the startup script :
su -l nico -c "screen -dmS rtd rtorrent"
But it seems like it doesn't work (i can't get the screen session back) :
screen -ls
No Sockets found in /var/run/screen/S-nico.
Do i miss something ?