Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-01-2002, 07:59 AM   #1
LQ Newbie
Registered: Mar 2002
Location: Connecticut
Distribution: Slackware, Debian
Posts: 10

Rep: Reputation: 0
Question Screen and other problems.

I'll bet everyone runs screen at least once in a while, right? I use screen all the time because I like to watch the output of my AIM bot and my Infobot and keep a bX session open, and I'm always running between home and work and using different SSH logins.

Sometimes, though, the SSH connection gets killed (for whatever reason). Normally logging back in and re-attaching the screen is all I need to do...
me@mybox:~$ screen -r
But sometimes it just hangs at that point and is never able to re-attach. I have tried such things as...
me@mybox:~$ screen -D -r <screen id>
me@mybox:~$ screen -D -RR <screen id>
But no luck :( I usually end up having to kill -9 all the programs I know were running under screen and starting over with a fresh screen. Does anyone have any insights into this?

Old 08-02-2002, 10:26 AM   #2
Registered: Aug 2002
Location: Malaysia
Distribution: RedHat
Posts: 58

Rep: Reputation: 15
This is usually due to a hung screen still attached. You can kill the screen ( ps auxfwww ) will give you a hint as to which screen this is. You can now kill the bash/sh session which has the hung screen "running" (it'll be the parent process to that particular screen).

This should allow you to reattach to the session (can't remember which one, a bit of trial and error is required). If this fails, you can try killing the screen session itself (not the programs running under it)



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
problems with screen. jetpig Linux - Newbie 10 10-30-2005 12:35 PM
Screen problems Elim Linux - General 1 09-21-2004 07:39 PM
Screen problems gonzalo76 Slackware 4 05-05-2004 11:15 AM
Screen Problems Silence95 Mandriva 2 08-31-2003 06:51 AM
Screen Resolution problems! mdw49 Linux - General 3 10-10-2001 09:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:17 AM.

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