[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: terminal devices left open after logging out

From: Henry Nelson
Subject: Re: terminal devices left open after logging out
Date: Mon, 13 Nov 2006 16:30:07 +0900
User-agent: Mutt/1.5.13 (2006-08-11)

On Wed, Oct 04, 2006 at 06:23:49PM +0200, Julien Jehannet wrote:
> >Date: Wed, 4 Oct 2006 09:36:36 +0900
> >From: Henry Nelson
> >Subject: terminal devices left open after logging out
> >
> >I'm not sure of the terminology so the Subject and description of the
> >problem may not be accurate.  What happens is that _sometimes_ when I
> >login, by ssh, a terminal device grabbed by some previous screen session
> >is still there.  So if I run `who` I see the device, but no one is
> >logged into it, and no screen sockets are open.  There doesn't seem to be
> >any way to close the device other than rebooting the machine.
> >
> >% who
> >henry ttyp0    Oct  4 09:17  (
> >henry ttyp3    Oct  1 07:21  (:ttyp0:S.0)
> >% screen -list
> >No Sockets found in /home/henry/.screen.
> >
> >How can I prevent this from happening, and/or can I somehow clean up
> >unused terminal devices (ttyp?) that are open without rebooting?  TIA.
> I think is more related to SSH than screen. You can try to send HUP 
> signals to your weird processes. If it works, see this FAQ entry for 

The thing is there don't seem to be any processes going.  Normally when
I try to exit the shell or logout with processes running, it won't let me;
there is some message like "there are processes running".  Also, 'ps'
doesn't show any processes that are still running from a previous session.


Thanks much!  This is the first real hint I've gotten.  I'll keep an
eye out for this.  Unfortunately I use csh, and I didn't see a work-
around for it (only bash, zsh and pdksh).

I filed a bug-report for screen which gives much more detail:

In the bug report I document how I can move the device number, but cannot
get rid of the "orphaned" ttyp.  All I can say is that is is very strange
(and a nuisance).

henry nelson

reply via email to

[Prev in Thread] Current Thread [Next in Thread]