[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 (192.168.11.24)
> >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.
> http://www.openssh.org/faq.html#3.10
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:
http://savannah.gnu.org/bugs/?func=detailitem&item_id=18126#options
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
WWW_HOME=http://yuba(dot)ne(dot)jp/(tilde)home/
- Re: terminal devices left open after logging out, Julien Jehannet, 2006/11/13
- Re: terminal devices left open after logging out,
Henry Nelson <=
- Re: terminal devices left open after logging out, janth, 2006/11/13
- Re: terminal devices left open after logging out, Henry Nelson, 2006/11/13
- Re: terminal devices left open after logging out, Michael Schroeder, 2006/11/15
- Re: terminal devices left open after logging out, Henry Nelson, 2006/11/15
- Re: terminal devices left open after logging out, Michael Parson, 2006/11/16
- Re: terminal devices left open after logging out, Henry Nelson, 2006/11/16