Re: rxvt: can't open pseudo-tty
Struck again...
bash-2.00$ rxvt
rxvt: can't open pseudo-tty
rxvt: aborting
bash-2.00$ for i in /dev/pty* ; do echo $i; fuser -v $i ; done
/dev/ptyp0
/dev/ptyp1
USER PID ACCESS COMMAND
/dev/ptyp1 rhogee 168 f.... emacs
/dev/ptyp2
USER PID ACCESS COMMAND
/dev/ptyp2 rhogee 1569 f.... rxvt
/dev/ptyp3
/dev/ptyp4
/dev/ptyp5
/dev/ptyp6
:
:
This is very strange...
Peter
> Peter S Galbraith wrote:
> >
> > Okay, I got my error again.
> >
> > Note: This occurs with rxvt v2.21 (latest vsn) and rxvt 2.20
> > (from XFree-3.3). This is therefore not a Debian-specific problem.
> >
> > > /usr/X11R6/bin/rxvt
> > rxvt: can't open pseudo-tty
> > rxvt: aborting
> >
> > > strace rxvt
> > [much stuff deleted]
> > geteuid() = 1000
> > getegid() = 1000
> > getuid() = 1000
> > setreuid(65535, 1000) = 0
> > getgid() = 1000
> > setregid(65535, 1000) = 0
> > open("/dev/ptyp0", O_RDWR) = -1 EIO (I/O error)
> > open("/dev/ptyp1", O_RDWR) = -1 EIO (I/O error)
> > open("/dev/ptyp2", O_RDWR) = -1 EIO (I/O error)
> > open("/dev/ptyp3", O_RDWR) = -1 EIO (I/O error)
> > open("/dev/ptyp4", O_RDWR) = 4
> > access("/dev/ttyp4", R_OK|W_OK) = -1 EACCES (Permission denied)
> > close(4) = 0
> > open("/dev/ptyp5", O_RDWR) = -1 EACCES (Permission denied)
> > open("/dev/ptyp6", O_RDWR) = -1 EACCES (Permission denied)
> > [more of the same...]
> > open("/dev/ptysf", O_RDWR) = -1 EACCES (Permission denied)
> > open("/dev/ptyt0", O_RDWR) = -1 ENOENT (No such file or direct
> ory)
> > [more of the same...]
> > open("/dev/ptyzf", O_RDWR) = -1 ENOENT (No such file or direct
> ory)
"Jens B. Jorgensen" wrote:
> The next time you get this error, run (as root):
>
> for i in /dev/pty* ; do fuser -v $i ; done
>
> and see what processes are using up all your pty's.
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: