LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 10-31-2007, 06:52 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: Slack_v11, slack64_v13, fedora9
Posts: 513

Rep: Reputation: 35
rtorrent. how to make it run in the background??


hello everyone,
i just installed rTorrent. seems to run great. but i need more
the reason i installed it in the first place was because i can't have KTorrent running in some X session and be able to retrieve it by opening another session (since i'd only get a new login window - and not the option to log on to the KDE session that is running KTorrent). I tried installing tightVNC to be able to retrieve the exact same KDE session, but tightVNc runs a new X server altogether with a primitive window system, from which however KTorrent can not be run)..

so i ended up in a console solution.
is it possible to run rtorrent, start some downloads i want, and then send it to background ? maybe even log off that session and then later if i log on i can get the same rtorrent window back in the foreground and see the status of the downloads??

thank you i advance for your help
nass
 
Old 10-31-2007, 07:06 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,201

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
You can use screen to start the program, so when you logout it will not stop.
Code:
screen rtorrent
Then pressing Ctrl-A+D will detach the screen and you can logout. Running
Code:
screen -r
will show you the detached screen sessions and you can resume the one you want running:
Code:
screen -r pid.tty.host
 
1 members found this post helpful.
Old 10-31-2007, 07:08 AM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: Slack_v11, slack64_v13, fedora9
Posts: 513

Original Poster
Rep: Reputation: 35
this is beautiful
thank you very much!
 
Old 08-07-2008, 02:49 AM   #4
a2m
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Quote:
Originally Posted by nass View Post
this is beautiful
thank you very much!
hi,

i have same issue but it type it it doesnot do anything. Displays an error there are two suitable screens running on the server name::

type screen [-d] -r [pid]tty.host

nothing happens when i try it..
 
Old 08-13-2011, 08:50 AM   #5
blingham
LQ Newbie
 
Registered: Jul 2009
Location: Canada
Distribution: Ubuntu
Posts: 20

Rep: Reputation: 1
Thumbs up

I just wanted to confirm that even 4 years later, this post is 100% relevant, and working in Ubuntu 11.04.

Jay
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
run c function in the background schneidz Programming 4 09-07-2007 08:29 AM
run c function in the background schneidz Programming 1 09-06-2007 03:05 PM
C++: Way to have System run in background? dive Programming 3 08-17-2006 08:29 PM
how to run a process in the X background sh4d0w13 Linux - General 6 09-12-2005 03:54 PM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 01:27 AM


All times are GMT -5. The time now is 07:21 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration