Subject: Re: not enough ptys
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 10/20/2004 01:03:24
In article <20041020004255.GB3031@bee>,
Rui-Xiang Guo <rxg@myrealbox.com> wrote:
>Hi, all.
>I just installed the new world with the xfree86, then I run
>startx with icewm. When I tried to fire up the xterm, nothing happend.
>It just printed some error messages on console -
>
>xterm: Error 32, errno 2: No such file or directory
>Reason: get_pty: not enough ptys
>
>I noticed that we have a new frame in /dev. We mount it as mfs.
>Do I just simple type 'sh MAKEDEV all' in /dev or is there any other
>correct method to fix it?
If you see an mfs /dev this means that you forgot to populate /dev when
you installed (or you're doing this on purpose). Either way, you should
either make xterm setuid (not recommended) or create /dev/ptm and /dev/ptmx.
christos