Problems with my terminal device files
dgw at liwest.at
Sun Jun 1 13:36:47 PDT 2003
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
> sysctl -a |grep pty
> Sorry about my bad english.
It's better than mine :-)
> 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 at freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions