LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] screen power detach kills ssh, why?

[ILUG] screen power detach kills ssh, why?

g whitley mott grwm at gnuleaf.net
Sat Feb 7 00:57:26 GMT 2004


anyone use screen much?  i've noticed for years that whenever i grab my
screen session to another terminal, the terminal it was grabbed from
gets logged out.  how?  how does screen (the child) tell bash (the
parent) to exit?  and why?

i suppose you could say that's a handy intentional feature?  but hey, if
i wanted that to happen, i would have invoked "exec screen", wouldn't i?

this actually bit me today, because i had various X apps running thru
the ssh session in addition to screen, and i was not amused when the X
apps were all dead.

yes ok, there is a workaround: invoke another _interactive_ bash within
the login bash, then invoke screen.  (bash -c screen not good enough!)




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell