Social Question

malevolentbutticklish's avatar

In Ubuntu, how do you create a bash session you can disconnect from and reconnect to remotely without X?

Asked by malevolentbutticklish (2185points) March 15th, 2010

Suppose you have an Ubuntu(Linux) system with X-Windows. In this case you can open a terminal on the desktop and “reconnect” to this terminal as often as you like using VNC. If you don’t have X-Windows how would you create a terminal you can “reconnect” with? Thanks.

Observing members: 0 Composing members: 0

8 Answers

mrentropy's avatar

You can set up an OpenSSH server or a telnet server.

malevolentbutticklish's avatar

@mrentropy: There is an ssh server. How would I reconnect to an existing bash session?

malevolentbutticklish's avatar

@hsw: Thank you! I see that “Persistence” is supported with GNU Screen. Do you know of anything else which supports persistence so that I may choose from all available options?

mrentropy's avatar

ssh works kind of like telnet. You would use an ssh client to connect to the ssh server. If bash is the default shell for the account you login in with then you’d get your bash shell.

malevolentbutticklish's avatar

@mrentropy: I am familiar with telnet/ssh. I have written Telnet/TN5250/TN3270 clients. The real question is how would I reconnect to an existing bash session?

malevolentbutticklish's avatar

@hsw: I am using screen and it works. THANKS AGAIN!

mrentropy's avatar

@malevolentbutticklish Oh. I misunderstood. Glad you got something working.

Answer this question

Login

or

Join

to answer.
Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther