From owner-freebsd-questions@FreeBSD.ORG Sun Jun 1 13:36:47 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4A18A37B401 for ; Sun, 1 Jun 2003 13:36:47 -0700 (PDT) Received: from lilzcluster.liwest.at (lilzclust02.liwest.at [212.33.55.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1342243FAF for ; Sun, 1 Jun 2003 13:36:46 -0700 (PDT) (envelope-from dgw@liwest.at) Received: from cm58-27.liwest.at by lilzcluster.liwest.at (8.10.2/1.1.2.11/08Jun01-1123AM) id h51KaZs0001288562; Sun, 1 Jun 2003 22:36:37 +0200 (MEST) From: Daniela To: "Fernando M. Maresca" , questions@freebsd.org Date: Sun, 1 Jun 2003 22:39:20 +0000 User-Agent: KMail/1.5.1 References: <200306011848.28701.dgw@liwest.at> <200306012131.29278.dgw@liwest.at> <20030601201053.GA3432@troilo.qlp.com.ar> In-Reply-To: <20030601201053.GA3432@troilo.qlp.com.ar> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306012239.20792.dgw@liwest.at> Subject: Re: Problems with my terminal device files X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2003 20:36:47 -0000 On Sunday 01 June 2003 20:10, Fernando M. Maresca wrote: > Sorry, i can't figure out how is th problem in your system, but looks > like the forkpty or openpty syscall fails, so in some way your kernel > have reach some limits or there are a lot of processes running. There are certainly a lot of processes running, I have a server. I guess there are too many ssh logins, so I'm out of pty's. Is it sufficient to edit the /etc/ttys file? Would be bad if I had to reboot. > Look at ps ax output and see for weird things, such as zombies or so. > There is no way that X can not get more ptys that i can think now, but a > couple of things you can do to track down the problem: > try another window manager and see if the problem presists. I can't allocate new pty's, no matter what I do. > ps ax Nothing special. > sysctl -a |grep pty No output. > top As usual. > Sorry about my bad english. It's better than mine :-) > Fernando > > On Sun, Jun 01, 2003 at 09:31:29PM +0000, Daniela wrote: > > On Sunday 01 June 2003 17:41, Fernando M. Maresca wrote: > > > On Sun, Jun 01, 2003 at 06:48:28PM +0000, Daniela wrote: > > > > I have with the konsole in KDE and with SSH. > > > > I logged out from KDE and logged back in, and suddenly, when I try to > > > > open a konsole, I get the following error: > > > > Unable to open a suitable terminal device. > > > > > > > > Fortunately, I have some shells open from my previously saved > > > > session. When I try to open a konsole from one of these, I see the > > > > following: Can't open a pseudo teletype. > > > > > > > > Next I tried: > > > > %ssh 127.0.0.1 > > > > ... > > > > Warning: no access to tty (Bad file descriptor). > > > > Thus no job control in this shell. > > > > > > > > I guess there's something wrong with my device files, but I didn't > > > > change anything. Before logging out, the konsole worked (haven't > > > > tried SSH in the last few days). > > > > What's going on here? Please help. > > > > > > > > Daniela > > > > > > don't understand: you can not open konsoles (kde-xterm) or you can't > > > loggin in a pseudo tty? Not the same: if teh problem is konsole, try > > > xterm, the x window system terminal emulation. try ssh localhost from > > > inside xterm, should work. > > > > Thanks for your reply. > > Xterm says that I don't have enough ptys. How do I make more? > > > > Daniela > > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "freebsd-questions-unsubscribe@freebsd.org"