LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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
 
Search this Thread
Old 10-31-2007, 05:52 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: Slack_v11, slack64_v13, fedora9
Posts: 276

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


[Log in to get rid of this advertisement]
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, 06:06 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 6,601

Rep: Reputation: 326Reputation: 326Reputation: 326Reputation: 326
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
   
Old 10-31-2007, 06:08 AM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: Slack_v11, slack64_v13, fedora9
Posts: 276

Original Poster
Rep: Reputation: 30
this is beautiful
thank you very much!
   
Old 08-07-2008, 01: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..
   
  


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 07:29 AM
run c function in the background schneidz Programming 1 09-06-2007 02:05 PM
C++: Way to have System run in background? dive Programming 3 08-17-2006 07:29 PM
how to run a process in the X background sh4d0w13 Linux - General 6 09-12-2005 02:54 PM
how to run any binary in background - background process tej Linux - Newbie 1 08-16-2004 12:27 AM


All times are GMT -5. The time now is 11:55 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.
Free Publications
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration