Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've looked around and I've seen that some people recommended using Screen, but I don't exactly know what they meant. The program in question is a Minecraft server. I need it to be able to allow multiple people look at the console and enter commands. Each person will have a user account. The server JAR is inside a directory inside the root directory (but not in a home folder) and everyone in a certain group will be able to have read and write permissions to the folder in which the server is held in. I have tried RCON, and it seems like it does not work at the moment. Any help would be appreciated.

So, in short:

  • Have multiple people with different user accounts
  • Let more than one user access the console at a time
  • Let the user read and write (commands) to the console
  • If possible, on connection, display all messages from the server from that session's (session being from when the server JAR was started) start.

Thanks!

share|improve this question
add comment

1 Answer

up vote 3 down vote accepted

actually, the program "screen" allows you to do just that.

There are complete, step by step instructions on how to use it at

http://ubuntuforums.org/showthread.php?t=299286

(the thread is a bit old, so I checked, and it really works)

What you'll want to do is to open a screen as the article instructs, and then just run the program in there. Whenever a user is finished using the terminal, he should type crtl-a and crtl-d. This way he 'disconnects' from the screen, but it keeps running

share|improve this answer
    
I said screen in my text, but I did not know how to implement it. I'll try this out on my server. If it works, thanks! If not, still, thanks! –  umop aplsdn Jul 14 '12 at 18:08
    
I am stuck on step 5. If I press Control + A it doesn't give me a ^A. Then when I type :multiuser on it says :multiuser: command not found. Any suggestions? –  umop aplsdn Jul 14 '12 at 18:50
    
Never mind. I was being stupid. This works! –  umop aplsdn Jul 14 '12 at 21:16
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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