problems running GNU screen


Forum: Apps
Topic: problems running GNU screen
started by: robertakit

Posted by robertakit on Jan. 14 2008,18:12
I am having problems running "screen", the virtual terminal program.  After installing screen via APT, the exact error is:

$ /usr/bin/screen
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:39
What 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
Quote (chaostic @ Jan. 14 2008,13:39)
What do you need screen for?
I mostly use DSL for ssh-ing to places.  It would be useful to recreate sessions without the overhead of VNC.
Quote
Also, the /dev/pty** files should be user readable/writable. So check with:
ls -halF /dev/pty*

Also check the permissions of screen.
Changing the /dev/pty* made no difference.  But,

$ sudo chmod u+s /usr/bin/screen

along with

$ sudo chmod 755 /var/run/screen

fixed it.

Thanks for the idea!

Posted by lucky13 on Jan. 14 2008,21:25
Which 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
Quote (lucky13 @ Jan. 14 2008,16:25)
Which version did you get using apt-get? If you're using one from Woody, that's old.
Yes, that is the version I am using.

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.
Quote
There are two versions in MyDSL, the one in testing is a UCI of the latest version.
I was unable to load the one from testing, for some reason.  It says it loads, but /usr/bin/screen is never created.  I'm running DSL 3.2.

Posted by ^thehatsrule^ on Jan. 14 2008,23:02
Quote (robertakit @ Jan. 14 2008,17:03)
Quote
There are two versions in MyDSL, the one in testing is a UCI of the latest version.
I was unable to load the one from testing, for some reason.  It says it loads, but /usr/bin/screen is never created.  I'm running DSL 3.2.

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:39
You may need to run /opt/screen/bin/screen
Posted by lucky13 on Jan. 15 2008,00:52
Quote
You may need to run /opt/screen/bin/screen

Hmm, I thought I put a link to /opt/bin in there.

Posted by mikshaw on Jan. 15 2008,01:14
Maybe 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:33
I've resubmitted a stripped screen.uci with a menu entry.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.