"No more PTYs" when trying to start screen
        Posted  
        
            by 
                Attila Oláh
            
        on Super User
        
        See other posts from Super User
        
            or by Attila Oláh
        
        
        
        Published on 2011-06-25T22:43:41Z
        Indexed on 
            2011/06/26
            0:24 UTC
        
        
        Read the original article
        Hit count: 604
        
When I try to start 'screen' or 'byobu', I get the following error message:
$ screen
No more PTYs.
Sorry, could not find a PTY.
[screen is terminating]
I seem to have enough though:
$ ls /dev/pts  
$ cat /proc/sys/kernel/pty/nr
0
$ cat /proc/sys/kernel/pty/max
4096
Some more info:
$ uname -a
Linux cube.mydedi.net 2.6.18-194.8.1.el5.028stab070.5 #1 SMP Fri Sep 17 19:10:36 MSD 2010 x86_64 x86_64 x86_64 GNU/Linux
If you need any more info please comment. This is on a low-end VPS, but it used to work just fine, until it stopped working. Everything else seems to be fine though.
© Super User or respective owner