'failed to allocate a pty' might indicate exhausted ptys. Is /dev/pts mounted? How many are in use (sudo lsof /dev/pts/*) when it fails?
'failed to allocate a pty' might indicate exhausted ptys. Is /dev/pts mounted? How many are in use (sudo lsof /dev/pts/*) when it fails?