Looking for Alternatives to tmux or screen for Managing Minecraft Server on Raspberry Pi

0
9
Asked By TechiePanda42 On

I'm currently setting up a Minecraft server on my Raspberry Pi and need a way to input admin commands and view logs directly from the terminal. I'm wondering if the virtual consoles (`/dev/tty1`, `/dev/tty2`) are persistent and accessible. I believe that when I use SSH, it creates a temporary virtual console that closes and ends any running programs when I disconnect. Is there a way to SSH into a persistent virtual console? I'm looking for something that lets me use terminal features like scrolling, selecting, and copying directly from my Windows computer.

5 Answers

Answered By ShellScripter27 On

You might want to look at this tool: [https://github.com/shell-pool/shpool](https://github.com/shell-pool/shpool). It could have features you’re looking for!

Answered By CasualCoder99 On

The scroll bar you're referring to is a feature of the terminal application on Windows rather than the virtual terminal itself. If you're just looking for a way to manage the server more effectively, I’d recommend giving screen a shot. It’s really powerful once you get used to it, but the documentation can be a bit heavy. Also, make sure Minecraft is set up to log all activity to a file; that might help you track things better!

Answered By LinuxLover88 On

GNU Screen does indeed create a virtual console! You can detach from it with CTRL+A, then CTRL+D, and retrieve it later with `screen -r`. This would let you log off and back on easily. To navigate back through old commands, you can use CTRL+A followed by [ for scrolling. It’s really handy!

Answered By RemoteAccessGuru On

Check out `conspy` for accessing the Linux virtual console over SSH. About the native scrollbar, keep in mind that traditional Linux consoles don't really support graphical scrolling like you might be expecting from more modern terminals; it's usually handled with keyboard shortcuts.

Answered By CommandLineNinja On

No, SSH sessions don't create persistent virtual consoles. They typically get a new tty for the session, and once closed, programs running in that session will generally get terminated. If you want a more ongoing session, tmux or screen are your best bets. They let you manage multiple terminal sessions and even scroll back. If those don't suit you, feel free to build your own tool, although it might not be as smooth! I’ve been using these for years and found them very effective.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.