no more ptys error on a Gentoo VPS

When starting screen, I would get a no more ptys error. I’ve had this error on Gentoo virtual servers run on both OpenVZ and Xen. After some quick googling, I came across the following fix.

echo 8192 > /proc/sys/kernel/pty/max
chmod 666 /dev/pty*

Voila!

Leave a Reply

You must be logged in to post a comment.