kliment / Printrun

Pronterface, Pronsole, and Printcore - Pure Python 3d printing host software
GNU General Public License v3.0
2.38k stars 996 forks source link

Pronsole closes after losing connection #1241

Closed al7aro closed 2 years ago

al7aro commented 2 years ago

So I have a raspberry connected to the printer. Ssh is enabled so when I'm not home I connect to the raspberry, init pronsole and start printing, but as soon as I terminate the ssh session or lose connection the printer stop printing and and can't resume it. Is there any way to keep pronsole running, or keep the printer printing even though pronsole closes? Thank you, people 😄️

kliment commented 2 years ago

You might want to look into tmux or gnu screen for this.

al7aro commented 2 years ago

What does tmux have to do with this? What i mean is that when I'm connected to the raspberry and lose the Internet connection (which happens a lot because my isp is not good) the ssh server terminates and so does the printer, can't it continue printing even when pronsole closes?

kliment commented 2 years ago

When you have tmux running on the pi, you can keep a persistent session that keeps running even if ssh terminates, and then you can reconnect to it. Check out the tmux documentation.

al7aro commented 2 years ago

Ah okay, I got it now, I will, thank you