binhex / arch-rtorrentvpn

Docker build script for Arch Linux base with ruTorrent, rTorrent, autodl-irssi, Privoxy and OpenVPN
GNU General Public License v3.0
238 stars 35 forks source link

access through tmux in terminal #163

Closed disrupted closed 3 years ago

disrupted commented 3 years ago

rTorrent used to run inside a tmux session by default, so I could connect to it and use it without graphical frontend. In the newest version I can no longer access it this way. I still see the rtorrent process using htop but when I run tmux ls it says that there are no sessions.

picodexter commented 3 years ago

You are probably running tmux ls as root, who doesn't have any active tmux sessions, but if you look at the running tmux sessions via ps aux | grep tmux, you can see that rtorrent is executed in a tmux by user nobody.

So in order to get into that tmux session, you can execute: sudo -u nobody tmux attach-session -t rt

disrupted commented 3 years ago

@picodexter excellent, thank you!