Archive for the ‘OpenVZ’ Category

no more ptys error on a Gentoo VPS 0

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!