Subject: Re: Unable to open terminals in X
To: Steven M. Bellovin <smb@research.att.com>
From: Ian P. Thomas Ipt <ipthomas_77@yahoo.com>
List: netbsd-users
Date: 12/20/2001 19:53:10
On Thu, Dec 20, 2001 at 07:31:30PM -0500, Steven M. Bellovin wrote:
> In message <20011220173436.B153@solo.scraemondaemon.org>, "Ian P. Thomas Ipt" w
> rites:
> >	After having upgraded from Version 3.3.6 to 4.1.0, I can bring up
> >blackbox and other programs like xbiff, xload, xman, etc. However, I can't
> >bring up any xterm's or rxvt's.  When I try to, an rxvt will flash on the
> >screen briefly and then disappear.  The error I've found examining a file
> >created using the following
> >
> >startx >& xerrors
> >
> >	are as follows
> >
> >rxvt: couldn't open psuodo-tty
> >rxvt:aborting
> >
> >	xterm doesn't present any error messages, it simply doesn't work.  I've
> >tried entering X from xdm, and again, I'm still unable to get an xterm or
> >rxvt.  Even the console app at the bottom of an xdm login screen appears
> >briefly and then vanishes.
> >	Not sure where to go next.
> >
> 
> The obvious thing is to check the permissions on your master and slave 
> ptys.  Here's what they look like on a (currently unused) pty on a 
> 1.5.2 system of mine running X 4.1:
> 
> crw-rw-rw-  1 root  wheel  6, 15 May 11  2001 /dev/ptypf
> crw-rw-rw-  1 root  wheel  5, 15 May 11  2001 /dev/ttypf

	Mine also have the same permissions.  I was able to get an error
message from trying to execute xterm: 

xterm:no available ptys: no such file or directory

	I know this isn't true.  I have ptys listed in /etc/ttys and in /dev.
Do I need to add anything to /etc/ttys?  Here is what my ptys look like in
there:

ttyp0 	none	network

	The rest under it are identical.  The tty that X comes up on is listed
as follows:

ttyE4	"/usr/libexec/getty Pc" 	vt220 off secure
	
	I'm using NetBSD 1.4.3.  Forgot to mention it in the original e-mail.
Not sure if that makes a difference.

Ian
-- 
of Course It Runs NetBSD 
www.netbsd.org

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com