Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 07-14-2017, 02:06 PM   #1
LQ Newbie
Registered: Jul 2017
Posts: 10

Rep: Reputation: Disabled
Screen terminating after closing SSH client.

Hi everybody,
So, I started I little project in Debian with my friends. We suposed to run a wowserver to play together and remember the old times. Long history short.
First we where using a Mint linux in another VPS provider. But because of high ping, we changed. This vps uses Debian 8.7. Same hardware as the other one.
I installed everything in the same way.
I run screen -AmdS to start the server (It needs 2 windows to work)
Everything fine, screen -ls show both screens detached from session.
By the minute I type exit or close the SSH client (Putty in my case), the screens are instantly terminated. Everyone gots DC.
I used to do the same commands in the other VPS, I could just close putty, relog putty, type screen -ls and the screens would be there.
I don't know how to configure my new vps to work like that, I don't know what can be causing that. After days of google research, heres a small list of stuff i tried:
nohup (Don't know how to use properly, followed some tips, no deal)
screen (offcourse)
add session timeout line in sshd_conf (+ssh_conf)

Old system information uname -a
Linux vps58ed942a796dd 2.6.32-042stab123.1 #1 SMP Wed Mar 22 15:21:30 MSK 2017 x86_64 GNU/Linux

New system information uname -a
Linux vps3755 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2+deb8u2 (2017-06-26) x86_64 GNU/Linux.
Hope anyone can help, It kinda sux need my laptop on to keep a server running in another machine.(And pointless)
Old 07-14-2017, 02:39 PM   #2
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929Reputation: 4929
This thread has been closed as a duplicate.

@dediganss: Welcome to LQ. No harm, however please wait to verify a post is up or held for moderation prior to attempting a re-post.

Please continue to use the other thread on this topic:
1 members found this post helpful.

Closed Thread

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
My vps (Screen is terminating) Magic1022 Linux - Newbie 10 05-02-2012 01:16 AM
[SOLVED] awesome wm client closing poly_s Linux - Desktop 2 10-09-2011 12:30 AM
LXer: SSHerminator - Nice split screen terminal emulator and SSH client LXer Syndicated Linux News 0 02-19-2009 05:10 PM
Linux screen is terminating without known reason ivangotoy Linux - Server 3 04-03-2008 03:01 PM
leaving an SSH session without terminating a task?? stardotstar Linux - Networking 7 03-03-2006 09:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:49 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration