screen: "No more PTYs" error

On a Linux server running CentOS 5.5 I came across the error No more PTYs, Sorry, could not find a PTY when trying to run screen as a normal user. (It worked fine as root.) I added my user to the group tty and verified the relevant permissions in /dev. Still no dice.

This fixed the problem:

mount -t devpts /dev/ptmx /dev/pts

I made it permanent by adding the following to /etc/fstab:

/dev/ptmx       /dev/pts        devpts  defaults        0       0

2010-12-02 · ·

blog comments powered by Disqus