Problems with my terminal device files
Fernando M. Maresca
f_maresca at ciudad.com.ar
Sun Jun 1 13:08:14 PDT 2003
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.
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.
sysctl -a |grep pty
Sorry about my bad english.
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?
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Fernando M. Maresca |"La única iglesia que ilumina es la que arde"
ICQ: 101434096 |Anónimo
"Israelitas, cristianos y musulmanes profesan la inmortalidad, pero la
veneración que tributan al primer siglo prueba que sólo creen en él, ya
que destinan todo lo demás, en número infinito, a premiarlo o castigarlo".
Jorge Luis Borges
More information about the freebsd-questions