Post4VPS Forum | Free VPS Provider
Gaming Server Problem - Printable Version

+- Post4VPS Forum | Free VPS Provider (https://post4vps.com)
+-- Forum: General Chat (https://post4vps.com/Forum-General-Chat)
+--- Forum: General (https://post4vps.com/Forum-General)
+--- Thread: Gaming Server Problem (/Thread-Gaming-Server-Problem)



Gaming Server Problem - Rehan - 09-22-2018

Hello,
          I have a vps from Post4VPS.Before this i used some windows vps and those were same as a PC.I am newbie to linux.Whenever i start server and try to join it works fine.But when i close the putty/ssh client it automatically get closed.Can someone tell me what is wrong ?


RE: Gaming Server Problem - perry - 09-22-2018

you need to install screen.

apt system:
apt install screen
yum:
yum install screen

before you try to start your server do:
screen

and then you start the server


RE: Gaming Server Problem - Rehan - 09-22-2018

(09-22-2018, 11:33 AM)perryoo11 Wrote: you need to install screen.

apt system:
apt install screen
yum:
yum install screen

before you try to start your server do:
screen

and then you start the server

Hmm.Thanks for information.But how can minimize or restore this screen?


RE: Gaming Server Problem - perry - 09-23-2018

(09-22-2018, 12:03 PM)Rehan Wrote: Hmm.Thanks for information.But how can minimize or restore this screen?

https://uisapp2.iu.edu/confluence-prd/pages/viewpage.action?pageId=115540034
https://www.rackaid.com/blog/linux-screen-tutorial-and-how-to/
https://www.tecmint.com/screen-command-examples-to-manage-linux-terminals/

here are some things you can look how it works


RE: Gaming Server Problem - Kururin - 09-25-2018

How to use screen in putty:
To exit out of a screen without killing it Ctrl + Alt + D
To exit out of a screen killing it Ctrl + Z
To resume or get into a screen session that's already running type

Code:
screen -R


if you have multiple instances then

Code:
screen -ls


then

Code:
screen -R [pid/name]



RE: Gaming Server Problem - Rehan - 09-25-2018

Thank you guys.I already got solution by perroyo.I did not replied because Dynamo mark this post as a useless low quality.So @Moderators can lock the topic as solved.