1
$\begingroup$

So I'm running the Blender in UI-less mode to render animation on my linux server.

Everything works smooth, but one thing does really bother me - if I disconnect from SSH (for example, if I close the PuTTY) the Blender stops rendering. Why?

And how can I make it work without me being always on the line?

$\endgroup$
3
$\begingroup$

The session is closed when you disconnect from ssh. The solution is simple. You need to use screen

sudo apt-get install screen

(in case you are using Ubuntu)

Then do ssh normally.

Inside the ssh session, type

screen

Accept, and then run your process. Now, do not close the window. Press Ctrl, hold it while you press A, then hold both keys and press D.

Then the screen session is detached, the process is running in the background and you can exit your ssh session.

Later, you can ssh again. Your process will still be there. To recover the screen session, type

screen -r
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.