remote control xbox and leave programms running on exit

A place to ask all newbie questions and not get flamed, though you will get beaten down if you post a newbieish question outside of these walls.
Post Reply
Linux User
Posts: 10
Joined: Mon Jul 31, 2006 2:25 pm

remote control xbox and leave programms running on exit

Post by maccallan » Mon Jul 31, 2006 2:44 pm

hi folks,
after 2 years i continue doing gentoox on my xbox.
mainly i have small programs (bitttorrent,..) running that are remote controlled by me from time to time.
what i want to do:
running a commandline bittorrent client (rtorrent) that does not exit when i'm closing the ssh client.

in the past i simply used a vnc server to remote control my p2p sorftware from remote computers but that was too slow and inefficient.

[in the long term i want to have torrentflux (a torrent client with webinterface) running but i just successfully installed the apache and samba server so i'm too frustrated to do more of this stuff now...]


Gentoox Guru!
Posts: 606
Joined: Sun Oct 24, 2004 8:11 am

Post by orochi » Tue Aug 01, 2006 3:15 am

emerge --sync
emerge -av screen
emerge -av bittorrent
bittorrent-curses /path/to.torrent

to exit but keep torrents running type CTRL+A then CTRL+D

to resume login via ssh and type

screen -R ... client.php ... urses.html

that should be the jist of it, Bittorrent is masked for me so i dont wanna bother going through getting it installed, but theres enough info on google for bittorent-curses or bittorrent headless to get by

User avatar
Posts: 63
Joined: Mon Jan 30, 2006 10:38 am
Location: Norway

Post by zlasher » Tue Aug 01, 2006 6:58 am

I'm on a bit of thin ice here - but are you sure you just couldn't start the program with the nohup option?

try doing a

Code: Select all

nohup <bittorrent thingy> &
You'd have to check with

Code: Select all

ps aux | grep <bittorrent thingy>
to see if it's still running - and read the "nohup" file where you started it to see any output..

Read up on nohup on google

Steinar T
Xbox v1.1, Xtender, Xecuter 3CE
Gentoox Pro 4.1 native

Linux User
Posts: 10
Joined: Mon Jul 31, 2006 2:25 pm

Post by maccallan » Tue Aug 01, 2006 12:19 pm

@orochi: thanks you're my hero of the day!
screen is a really mighty tool, just the tool i needed.
rtorrent now runs succesfully even if i exit ssh connection.

(sorry zlasher haven't tried the nohup option => will remember that command for other programs :-))

thanks dudes!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest