D
D
Dmitry Lavrik2016-02-15 19:43:55
linux
Dmitry Lavrik, 2016-02-15 19:43:55

Why does the application stop working when I end my remote access session?

Hello.
I keep the Minecraft game server on a remote virtual machine with the Ubuntu operating system, which I access via the PuTTY SSH client. In Linux and system management through the console, I understand little.
The problem is that the server crashes when you close the PuTTY program and terminate the remote access session. Can I shut down PuTTY without shutting down the server, and if so, how?
Thanks in advance for possible answers.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
DevMan, 2016-02-15
@yukuCrow

start the server with nohup/screen/tmux/etc.
putty. Does the process stop when it closes?

X
xotkot, 2016-02-15
@xotkot

if systemd is there , then it is done like this: it is
written on the server
, in fact, this command holds the user's state.
to disable:
# loginctl disable-linger <username>

V
Vlad Zhivotnev, 2016-02-15
@inkvizitor68sl

ctrl-z
bg
disown
well, or if the skill is enough - apt-get install screen; screen
Start the server in screen, deattach with ctrl+a, d
Then you can close putty, and you can return to the console with the running server with the screen -Rx command from the same user.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question