LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 01-13-2004, 11:40 AM   #1
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Rep: Reputation: 30
Virtual Consoles from SSH


Running Putty on the client. Wondering if there is a way to have virtual consoles on the ssh box, instead of having to open multiple putty sessions to have multiple consoles.
 
Old 01-13-2004, 12:36 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
No, AFAIK not at this time you can't. You have to deal with multiple putty windows open.
 
Old 01-13-2004, 12:37 PM   #3
mac_phil
Member
 
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
You can. This functionality has nothing to do with putty, which is merely a way to obtain a login.

You want the program screen. man screen. It's a fullscreen terminal window manager. It can also run even when you aren't logged in. In other words you can ssh into the box and reattach a session and have all of your old terminal windows right there, doing whatever they've been doing.

Basically:
screen (start screen session, opens terminal 0)
CTRL-A C (open another terminal)
CTRL-A " (lists all terminals)
CTRL-A D (detach session; all programs in all terminals continue running)
screen -r (re-attach an old screen session to your current login)

Last edited by mac_phil; 01-13-2004 at 12:48 PM.
 
Old 01-13-2004, 01:26 PM   #4
arobinson74
Member
 
Registered: Nov 2002
Location: Lone Tree, CO
Distribution: Xubuntu Gutsy
Posts: 174

Original Poster
Rep: Reputation: 30
Works like a charm, thank you
 
Old 01-13-2004, 01:28 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally posted by mac_phil
You can. This functionality has nothing to do with putty, which is merely a way to obtain a login.

You want the program screen. man screen. It's a fullscreen terminal window manager. It can also run even when you aren't logged in. In other words you can ssh into the box and reattach a session and have all of your old terminal windows right there, doing whatever they've been doing.

Basically:
screen (start screen session, opens terminal 0)
CTRL-A C (open another terminal)
CTRL-A " (lists all terminals)
CTRL-A D (detach session; all programs in all terminals continue running)
screen -r (re-attach an old screen session to your current login)
Ahh.. yeah, was under the impression only wanted or was asking to do it under putty..
 
  


Reply


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual consoles pesachzon Linux - Software 1 05-15-2005 05:09 PM
slackware 10 - no virtual consoles cxobert Slackware 3 09-19-2004 11:06 AM
X and virtual consoles problem beren_olvar Linux - General 4 12-05-2003 12:33 PM
runlevel 4 and virtual consoles stevenhasty Slackware 16 08-06-2003 08:20 PM
virtual consoles naflan Slackware 1 08-02-2003 12:13 PM


All times are GMT -5. The time now is 12:42 PM.

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