LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2012, 01:51 AM   #1
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Rep: Reputation: Disabled
Run screen session in a screen session.


Hello i was kindly inquiring if it's possible to run a screen session in a screen session, i can start a screen session in another screen session, the problem comes in that the new screen takes over and there is no way i can come back to the primary screen session. So please if you know of any way i can switch back and forth i would really be grateful for your help.
 
Old 09-30-2012, 02:15 AM   #2
rosehosting.com
Member
 
Registered: Jun 2012
Location: Missouri, USA
Posts: 236

Rep: Reputation: 64
You may want to read the following article:

http://www.ubuntugeek.com/screen-man...-terminal.html


Quote:
Originally Posted by eyanu View Post
Hello i was kindly inquiring if it's possible to run a screen session in a screen session, i can start a screen session in another screen session, the problem comes in that the new screen takes over and there is no way i can come back to the primary screen session. So please if you know of any way i can switch back and forth i would really be grateful for your help.
 
Old 09-30-2012, 02:44 AM   #3
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Original Poster
Rep: Reputation: Disabled
Thanks for the article, but i don't see any where it says how to run screen in screen, i can run screen and am well versed with it, but some times you connect to a server through an already started screen session and on that server there is a screen session you want to connect to, as soon as you connect to that screen on the new server, it's going to take over the keyboard and you'll not be able to come back to your original screen terminal. that's the kind of help i need.
 
Old 09-30-2012, 01:43 PM   #4
ntubski
Senior Member
 
Registered: Nov 2005
Distribution: Debian, Arch
Posts: 3,784

Rep: Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083Reputation: 2083
Quote:
Originally Posted by eyanu View Post
i can start a screen session in another screen session, the problem comes in that the new screen takes over and there is no way i can come back to the primary screen session.
It's been a while since I've done this, but I'm pretty sure it's the outer (or primary, as you called it) screen that gets the keystrokes first. You can use the meta command (C-a a by default) to send commands to the next innermost screen.
 
1 members found this post helpful.
Old 10-01-2012, 01:50 AM   #5
eyanu
Member
 
Registered: Jul 2012
Location: kampala,Uganda
Distribution: backtrack
Posts: 87

Original Poster
Rep: Reputation: Disabled
Thanks alot ntubski, C-a a worked out, infact if you want to go to the next window in the secondary screen you have to C-a a n.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
GNU Screen: send "stuff" command to detached screen session? metaf5 Linux - General 3 01-23-2012 08:44 PM
Password screen session alfr Linux - Newbie 2 04-17-2008 03:22 AM
Creating a screen session in an existing session Frits of waterplant Linux - Newbie 4 01-18-2007 04:53 AM
How to run a program in an ssh session that will run after you close out the session? dr_zayus69 Linux - Networking 5 03-05-2006 07:15 PM
Blank Screen when Run-level set to 5/ Slow X Session nikhil_no_1 Fedora 0 09-16-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:05 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration