problems running GNU screen
Topic: problems running GNU screen
started by: robertakit
Posted by robertakit on Jan. 14 2008,18:12I am having problems running "screen", the virtual terminal program. After installing screen via APT, the exact error is:
No more PTYs.
Sorry, could not find a PTY.
It appears that I am able to run it as root, e.g.,
$ sudo /usr/bin/screen
Is there any way to fix this?
Posted by chaostic on Jan. 14 2008,18:39What do you need screen for?
Also, the /dev/pty** files should be user readable/writable. So check with:
ls -halF /dev/pty*
Also check the permissions of screen.
Posted by robertakit on Jan. 14 2008,18:52
$ sudo chmod u+s /usr/bin/screen
$ sudo chmod 755 /var/run/screen
Thanks for the idea!
Posted by lucky13 on Jan. 14 2008,21:25Which version did you get using apt-get? If you're using one from Woody, that's old. There are two versions in MyDSL, the one in testing is a UCI of the latest version.
Posted by robertakit on Jan. 14 2008,22:03
I also tried "screen.dsl" in the WM Apps category of MyDSL. It seems to suffer from the same problem -- I need to chmod /usr/bin/screen and /var/run/screen.
Posted by ^thehatsrule^ on Jan. 14 2008,23:02
uci's should never modify /usr ... see /opt/bin
afaik the /opt/bin was added to PATH in 3.3
Posted by mikshaw on Jan. 14 2008,23:39You may need to run /opt/screen/bin/screen
Posted by lucky13 on Jan. 15 2008,00:52
Hmm, I thought I put a link to /opt/bin in there.
Posted by mikshaw on Jan. 15 2008,01:14Maybe I'm looking at my own screen.uci =o)
I don't remember actually building a package for it (I know I didn't upload anyway), but I thought I'd downloaded yours.
Posted by lucky13 on Jan. 16 2008,03:33I've resubmitted a stripped screen.uci with a menu entry.