Re: screen getting stuck on startup

Mandar Mitra <[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
Hello,

The problem recurred, so I am reporting what I see:

Sadrul Habib Chowdhury wrote (Tue, Apr 26, 2011 at 01:23:16PM -0400):
> On Mon, Apr 25, 2011 at 11:55 AM, Mandar Mitra <[email protected]> wrote:
> > Hi all,
> >
> > I'm facing the following strange problem with screen.
> >
> > My .xinitrc / .xsession has the following line:
> >
> > (/usr/bin/xterm -geometry 80x46+1440-0 -T 2.1 -n 2.1 -e screen -m &)
> >
> > *Sometimes*, when I log in to an X session, the xterm started above
> > is blank, with only a "[" (black fg, red bg) in the first position (upper
> > left-hand corner). In this condition, no commands seem to work.
> 
> When in this state, can you run 'screen -ls' from another terminal,
> and see if it lists an existing session (as
> 'Dead'/'Detached'/'Attached')? I am thinking maybe xterm starts screen
> before it has the specified geometry, and doesn't send screen a
> size-changed signal, or it does send the signal but screen ignores it.
> Could you try the version from git and see if you continue to see this
> problem?
> 
> Sadrul


Actually, I start 4 xterms through .xinitrc / .xsession running screen as
above (different geometries, titles, etc.). Of these:

1 shows a 0 in the top left corner,
2 show a [ in  the top left corner, and
1 did not come up at all.

Running screen -ls tells me:

There are screens on:
        1750.mandar     (05/15/11 19:06:25)     (Dead ???)
        1748.3.1        (05/15/11 19:06:25)     (Dead ???)
        1749.2.1        (05/15/11 19:06:25)     (Dead ???)
Remove dead screens with 'screen -wipe'.
3 Sockets in /var/run/screen/S-mandar.

Does this give you any hint as to what might be wrong? Should I just
give the git version a try?

Also, this usually happens when I start an X session for the first time
after a reboot. If I end this X session, and login in (via gdm) again, I'm
sure this will not happen.

Thanks,
Mandar.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.