I've gotten a newly imaged Debian 6 32 bit VPS. While configuring I tried to test screen as a number of my scripts run using it.
Root has no problem running screen. But of course this is unacceptable.
The message I received is "No more PTY's. Sorry could not find a PTY"
I did a little googling and found it to be a common problem with permissions. I checked the permissions on /dev/ptmx and /dev/pts as well as the several /dev/ptyp* descriptors. They all had proper read/write permission
:~$ ls -l /dev/ptmx crw-rw-rw- 1 root tty 5, 2 Jul 31 07:35 /dev/ptmx :~$ ls -l /dev/pty* crw-rw-rw- 1 root tty 2, 0 Jul 31 01:19 /dev/ptyp0 crw-rw-rw- 1 root tty 2, 1 Jul 31 01:19 /dev/ptyp1 crw-rw-rw- 1 root tty 2, 2 Jul 31 01:19 /dev/ptyp2
/dev/pts is mounted. From all the solutions it seems my non-root user should be able to run screen.
Is there anything else I can do?
root@:~# dpkg -l screen Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version ii screen 4.0.3-14 terminal multiplexor with VT100/ANSI terminal emulation root@:~# ls -l /usr/bin/screen -rwxr-xr-x 1 root utmp 328508 Jul 28 2009 /usr/bin/screen