Subject: Re: out of ptys
To: Ian Molton <mh120608@cr10m.staffs.ac.uk>
From: Todd Whitesel <toddpw@best.com>
List: port-arm32
Date: 08/29/1998 01:21:42
> What does "No available ptys" (or similar) mean?
> 
> I get this error when I do "startx"

	ls /dev/pty*

If you don't see any files such as /dev/ptyp0 /dev/ptyp1 /dev/ptyp2 etc.,
then you should perform the following as root:

	cd /dev
	./MAKEDEV pty0 pty1 pty2 pty3

Each argument specifies a block of 16 ptys to make available in the filesystem.
Note that your kernel's config file must contain a line such as

pseudo-device	pty		64	# pseudo-terminals

64 is a typical default setting, and instructs the kernel to allocate enough
space for 64 ptys. Programs cannot see them without files in /dev, however,
so MAKEDEV is used to create those.

Todd Whitesel
toddpw @ best.com