You are not logged in.

#1 2012-06-02 21:40:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

break a dependency of a running process on the X session

Is it possible to break a dependency of a running process that was started on an X session such that I can exit the X session and the process still runs?  Example:

*Login to X
*Start an application, for example a file transfer that will take several hours

If I log out of X, that process will die along with anything else I am running under X.  I want to be able to take that process and somehow push it out of the xsession so it will continue to run even after I log out of X or even stop X all together (say drop down to runmode 3).

Offline

#2 2012-06-02 21:48:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: break a dependency of a running process on the X session

tmux or screen...

Or, if you are referring to a process that is currently running, you could try reptyr
https://github.com/nelhage/reptyr


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-06-02 22:55:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: break a dependency of a running process on the X session

Thanks... looks like reptyr might do the trick.  I know with screen (and nohup) that you need the foresight to start the task in screen.  Hoping that reptyr can do what I want.

Offline

Board footer

Powered by FluxBB